ExpandableRecyclerView icon indicating copy to clipboard operation
ExpandableRecyclerView copied to clipboard

ExpandableRecyclerView with smoothly animation.

Results 11 ExpandableRecyclerView issues
Sort by recently updated
recently updated
newest added

is it supports expanding only one Group at a time ???

RecyclerView避免快速滑动时数据错乱问题有一种方案是setHasStableIds(true)然后重写getItemId(position: Int)方法返回一个固定的id值,但是现在这个ExpandableRecyclerView组件有groupPosition和childPosition,没法直接重写getItemId(position: Int)方法,所以有避免快速滑动时数据错乱的更好的方案吗?或者如何保证getItemId(position: Int)返回唯一id值,且position能与groupPosition和childPosition对应上

重现方法:用你的demo,把短列表设为3个,快速点击第三个分组的标题,第一个分组标题的内容会变成第三个分组的内容。

如何设置吸顶和不吸顶?

https://user-images.githubusercontent.com/7598954/144832617-2a4813a8-0619-4630-8782-b443cac1535a.mp4 如视频所示,当将要切换的GroupItem文字部分小于当前的,且后面有其它标签,标签会闪烁。 大概就是view宽度发生变化,重新计算前就开始绘制了造成的。 内部的TextView组件都会有这种情况,短文字变长文字都会闪烁。

``` Handler().postDelayed(Runnable { val count = adapter.itemCount adapter.data.removeAt(0) adapter.notifyGroupRemove(0) adapter.notifyGroupRangeRemove(IntRange(0,count)) },3000) ``` ``` { "zone": [ { "id": "bj", "name": "北京", "city": true, "sort": 1 }, { "id": "sh", "name":...

Hello pokercc. Your ExpandableRecyclerView is awesome, it helps me a lot. I was wonder if how do I use diffUtil in your lib?

enhancement

holder.binding.textview.visibility=View.GONE 无效,