TwinklingRefreshLayout icon indicating copy to clipboard operation
TwinklingRefreshLayout copied to clipboard

当item不满一屏时,也可执行loadmore,你回复说v1.07版已修复,可我试了下还是可以

Open tczyb opened this issue 8 years ago • 3 comments

tczyb commented 24 days ago 当item不满一屏时,也可执行loadmore,能否改成满屏时才可执行? @lcodecorex Owner lcodecorex commented 24 days ago 这个你在代码里控制就好。你提的这个需求不能满足所有人。比如你想要加载15条数据,结果只得到了5条,说明数据加载完了,这个时候你就可以设置禁用加载很多 @lcodecorex Owner lcodecorex commented an hour ago v1.07版已修复!

tczyb avatar Apr 07 '17 07:04 tczyb

这个需要人为控制,需求不能统一,所以你可以在不满15条记录的时候设置一下setEnableLoadmore(false)即可

lcodecorex avatar Apr 07 '17 10:04 lcodecorex

@lcodecorex 比如一个搜索页,默认没有数据,那是不是一开始得禁用加载更多,然后搜索的时候在打开,最后不满的时候再禁用?个人感觉有点繁琐

tczyb avatar Apr 08 '17 03:04 tczyb

还是保留目前的状态吧,需求不同

appdev avatar Apr 18 '17 04:04 appdev