public abstract class AbstractSwipeRefreshActivity
extends ActionBarActivity
限定符和类型 | 字段和说明 |
---|---|
protected SwipeRefreshLayout |
refreshLayout |
构造器和说明 |
---|
AbstractSwipeRefreshActivity() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
protected void |
setAppearance() |
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 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)
protected void setAppearance()
public void showSwipeProgress()
public void hideSwipeProgress()
public void enableSwipe()
public void disableSwipe()
public void onRefresh()