BaseRecyclerViewAdapterHelper icon indicating copy to clipboard operation
BaseRecyclerViewAdapterHelper copied to clipboard

BRVAH:Powerful and flexible RecyclerAdapter

Results 208 BaseRecyclerViewAdapterHelper issues
Sort by recently updated
recently updated
newest added

kotlin想坚持使用的可以参考#3561 [BRV](https://github.com/liangjingkanji/BRV/)比较适合databinding,一直在维护,作者解答很快,可以试试😉 [使用文档](https://liangjingkanji.github.io/BRV/)也很全,和作者的[net框架](https://liangjingkanji.github.io/Net/)一起使用是真的方便快捷😁

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

3.0.4版本DiffUtil,如果只修改了其中一个Item的某个字段的内容,则不会刷新页面。DiffCallBack中areContentsTheSame方法返回内容相同,而且oldItem和newItem的数据尽然都是修改过后的。 如图,已经修改了amount字段从3522到352,但日志显示新旧数据尽然都是修改后的352。 ![捕获](https://user-images.githubusercontent.com/51894556/86208084-6f064780-bba2-11ea-99d2-3ff9716c333e.PNG) DiffCallback: ![捕获](https://user-images.githubusercontent.com/51894556/86208463-2bf8a400-bba3-11ea-9ca0-5d0dadc1c750.PNG) 设置数据(result为数据库获取的结果): ![捕获](https://user-images.githubusercontent.com/51894556/86207848-fb643a80-bba1-11ea-83e2-938ef081ad46.PNG)

代码: override fun convert(holder: BaseDataBindingHolder, item: JsonBean.DataBean) { holder.dataBinding?.data = item } override fun getDefItemCount(): Int { return Int.MAX_VALUE } override fun getItem(position: Int): JsonBean.DataBean { return if (position >=...

1.使用 BaseNodeAdapter 实现分组效果; 2.动态删除item,调用 mAdapter.removeAt(position) 或者 mAdapter.remove(Item) ,如果是最后一个元素会数组越界; 越界位置在 BaseNodeAdapter 如下位置: ![image](https://user-images.githubusercontent.com/30716086/145038674-5e2c15f4-2d5c-4465-818d-31e065f607d5.png)

addChildClickViewIds方法也没有。 问题已解决,在 convert 里用 helper.addOnClickListener() 添加 child 的 id 。

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

**Describe the bug** A clear and concise description of what the bug is. **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll...

没找到对应的样例,之前的2.0代码不能用