Skip to content

Releases: nukc/LoadMoreWrapper

v1.6

10 Apr 14:19
Compare
Choose a tag to compare

override public void onBindViewHolder(RecyclerView.ViewHolder holder, int position, List payloads)

v1.5

07 Apr 05:18
Compare
Choose a tag to compare

auto load more when no data is initialized

v1.4

29 Mar 09:15
Compare
Choose a tag to compare

fix: use notifyItemRangeRemoved after clear item, can throw java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position
fix: recyclerView will auto scroll to bottom when use onItemRangeInserted(0, count) after clear item

v1.2

17 Jan 07:02
Compare
Choose a tag to compare

支持设置是否显示没有更多视图,可自定义。

注意:当加载完全部后且已 setLoadMoreEnabled(false),但如果由于生命周期或其他问题而导致 View 重建,mLoadMoreEnabled 依然为 true。
这时候应该需要保存 mLoadMoreEnabled 的状态,如果是 ViewPager + Fragment,可以使用 setOffscreenPageLimit 进行解决。

v1.1

02 Dec 07:24
Compare
Choose a tag to compare

新增方法:获取原来的adapter,Merge pull request #1

v0.4.2

21 Sep 02:47
Compare
Choose a tag to compare

增加在onBindViewHolder()触发loadmore的条件

v0.4.1

12 Sep 02:52
Compare
Choose a tag to compare

修复上个版本可能带来的bug

v0.4.0

10 Sep 13:18
Compare
Choose a tag to compare

修复当notifyItemInserted(0)的时候RV不会添加item的情况;
修改部分逻辑。

v0.3.6

26 Aug 13:09
Compare
Choose a tag to compare

支持当item未铺满屏幕的时候仍能够加载更多