lcodecorex / TwinklingRefreshLayout

RefreshLayout that support for OverScroll and better than iOS. 支持下拉刷新和上拉加载的RefreshLayout,自带越界回弹效果,支持RecyclerView,AbsListView,ScrollView,WebView
Apache License 2.0
4k stars 672 forks source link

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

Open tczyb opened 7 years ago

tczyb commented 7 years ago

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版已修复!

lcodecorex commented 7 years ago

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

tczyb commented 7 years ago

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

appdev commented 7 years ago

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