Interface ScrollBoundaryDecider
-
- All Implemented Interfaces:
public interface ScrollBoundaryDeciderScroll boundary decider.
-
-
Method Summary
Modifier and Type Method Description abstract booleancanRefresh(View content)Determine whether pull-down refresh can start based on content view state. abstract booleancanLoadMore(View content)Determine whether pull-up load more can start based on content view state. -
-
Method Detail
-
canRefresh
abstract boolean canRefresh(View content)
Determine whether pull-down refresh can start based on content view state.
- Parameters:
content- Content view- Returns:
true will trigger pull-down refresh
-
canLoadMore
abstract boolean canLoadMore(View content)
Determine whether pull-up load more can start based on content view state.
- Parameters:
content- Content view- Returns:
true will trigger load more
-
-
-
-