public class SimpleBoundaryDecider extends java.lang.Object implements ScrollBoundaryDecider
Modifier and Type | Field and Description |
---|---|
ScrollBoundaryDecider |
boundary |
android.graphics.PointF |
mActionEvent |
boolean |
mEnableLoadMoreWhenContentNotFull |
Constructor and Description |
---|
SimpleBoundaryDecider() |
Modifier and Type | Method and Description |
---|---|
boolean |
canLoadMore(android.view.View content)
根据内容视图状态判断是否可以开始上拉加载
|
boolean |
canRefresh(android.view.View content)
根据内容视图状态判断是否可以开始下拉刷新
|
public android.graphics.PointF mActionEvent
public ScrollBoundaryDecider boundary
public boolean mEnableLoadMoreWhenContentNotFull
public boolean canRefresh(android.view.View content)
ScrollBoundaryDecider
canRefresh
in interface ScrollBoundaryDecider
content
- 内容视图public boolean canLoadMore(android.view.View content)
ScrollBoundaryDecider
canLoadMore
in interface ScrollBoundaryDecider
content
- 内容视图