public abstract class AbstractSwipeRefreshLoadMoreActivity
extends ActionBarActivity
限定符和类型 | 字段和说明 |
---|---|
protected SwipeRefreshLayout |
refreshLayout |
protected android.widget.RelativeLayout |
swipeReaLayout |
构造器和说明 |
---|
AbstractSwipeRefreshLoadMoreActivity() |
限定符和类型 | 方法和说明 |
---|---|
void |
disableSwipe()
Disables swipe gesture.
|
void |
enableSwipe()
Enables swipe gesture
|
void |
hideSwipeProgress()
It shows the SwipeRefreshLayout progress
|
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onRefresh()
It must be overriden by parent classes if manual swipe is enabled.
|
void |
setContentView(int layoutResID) |
void |
setContentView(android.view.View view) |
void |
setContentView(android.view.View view,
android.view.ViewGroup.LayoutParams params) |
void |
showSwipeProgress()
It shows the SwipeRefreshLayout progress
|
protected SwipeRefreshLayout refreshLayout
protected android.widget.RelativeLayout swipeReaLayout
protected void onCreate(android.os.Bundle savedInstanceState)
public void setContentView(int layoutResID)
public void setContentView(android.view.View view)
public void setContentView(android.view.View view, android.view.ViewGroup.LayoutParams params)
public void showSwipeProgress()
public void hideSwipeProgress()
public void enableSwipe()
public void disableSwipe()
public void onRefresh()