Class SimpleBoundaryDecider
-
- All Implemented Interfaces:
-
io.rong.imkit.widget.refresh.listener.ScrollBoundaryDecider
public class SimpleBoundaryDecider implements ScrollBoundaryDecider
滚动边界 Created by scwang on 2017/7/8.
-
-
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)根据内容视图状态判断是否可以开始下拉刷新 booleancanLoadMore(View content)根据内容视图状态判断是否可以开始上拉加载 -
-
Method Detail
-
canRefresh
boolean canRefresh(View content)
根据内容视图状态判断是否可以开始下拉刷新
- Parameters:
content- 内容视图- Returns:
true 将会触发下拉刷新
-
canLoadMore
boolean canLoadMore(View content)
根据内容视图状态判断是否可以开始上拉加载
- Parameters:
content- 内容视图- Returns:
true 将会触发加载更多
-
-
-
-