Class SimpleBoundaryDecider
-
- All Implemented Interfaces:
-
ai.nexconn.chatui.widget.pullrefresh.listener.ScrollBoundaryDecider
public class SimpleBoundaryDecider implements ScrollBoundaryDecider
Scroll boundary decider.
-
-
Field Summary
Fields Modifier and Type Field Description public PointFmActionEventpublic ScrollBoundaryDeciderboundarypublic booleanmEnableLoadMoreWhenContentNotFull
-
Constructor Summary
Constructors Constructor Description SimpleBoundaryDecider()
-
Method Summary
Modifier and Type Method Description booleancanRefresh(View content)Determine whether pull-down refresh can start based on content view state. booleancanLoadMore(View content)Determine whether pull-up load more can start based on content view state. -
-
Method Detail
-
canRefresh
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
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
-
-
-
-