Skip to content

Commit 6c08375

Browse files
author
wsc
committed
注释添加提示
1 parent 31eaa33 commit 6c08375

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

refresh-layout-kernel/src/main/java/com/scwang/smart/refresh/layout/SmartRefreshLayout.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2315,6 +2315,7 @@ public RefreshLayout setReboundDuration(int duration) {
23152315
/**
23162316
* Set whether to enable pull-up loading more (enabled by default).
23172317
* 设置是否启用上拉加载更多(默认启用)
2318+
* 注意:本方法仅仅支持初始化的时候调用,如过没有数据的时候,需要关闭请使用: finishLoadMoreWithNoMoreData 或者 finishRefreshWithNoMoreData
23182319
* @param enabled 是否启用
23192320
* @return RefreshLayout
23202321
*/
@@ -3360,6 +3361,7 @@ public boolean autoRefresh(int delayed) {
33603361
/**
33613362
* Display refresh animation without triggering events.
33623363
* 显示刷新动画,不触发事件
3364+
* 注意:本方法只会开启动画,不会触发刷新事件。所以需要自己在外部适当的时机调用 finishRefresh 来关闭刷新动画
33633365
* @return true or false, Status non-compliance will fail.
33643366
* 是否成功(状态不符合会失败)
33653367
*/

0 commit comments

Comments
 (0)