public static interface PullToRefreshBase.OnPullEventListener<V extends android.view.View>
PullToRefreshBase.setOnPullEventListener(com.handmark.pulltorefresh.library.PullToRefreshBase.OnPullEventListener<T>).| Modifier and Type | Method and Description |
|---|---|
void |
onPullEvent(PullToRefreshBase<V> refreshView,
PullToRefreshBase.State state,
PullToRefreshBase.Mode direction)
Called when the internal state has been changed, usually by the user
pulling.
|
void onPullEvent(PullToRefreshBase<V> refreshView, PullToRefreshBase.State state, PullToRefreshBase.Mode direction)
refreshView - - View which has had it's state change.state - - The new state of View.direction - - One of PullToRefreshBase.Mode.PULL_FROM_START or
PullToRefreshBase.Mode.PULL_FROM_END depending on which direction
the user is pulling. Only useful when state is
PullToRefreshBase.State.PULL_TO_REFRESH or
PullToRefreshBase.State.RELEASE_TO_REFRESH.