GroupedRecyclerViewAdapter icon indicating copy to clipboard operation
GroupedRecyclerViewAdapter copied to clipboard

GroupedRecyclerViewAdapter可以很方便的实现RecyclerView的分组显示,并且每个组都可以包含组头、组尾和子项;可以方便实现多种Type类型的列表,可以实现如QQ联系人的列表一样的列表展开收起功能,还可以实现头部悬...

Results 33 GroupedRecyclerViewAdapter issues
Sort by recently updated
recently updated
newest added

![c1d29d979143c116dbabedde389dc9f](https://user-images.githubusercontent.com/17446080/165214220-bf9f93a6-0070-46c9-83ce-b58fcf62da99.jpg) 如图所示,怎么让图片组子项加载layout1,其他组子项加载layout2呢? 部分代码截图如下: ![28a80fe7ba98ad886631213dfcf14ea](https://user-images.githubusercontent.com/17446080/165214495-624c29d3-636f-40ae-814a-93c4b3503f3b.png) ![d25ed755b923ab3dcabb133a8fcb774](https://user-images.githubusercontent.com/17446080/165214597-1360814c-121a-46d0-8c97-46ecc88fd2d0.png)

我在用你的adapter时发现,只能用你写好的BaseViewHolder,但是我需要用自己的ViewHolder,请问有没有什么办法做到?

请问GroupedGridLayoutManager 如何设置左右间距,通过继承AbsGroupedLinearItemDecoration只能设置上下间距,但是如果我每个Group里面的子item 间距都不一样 请问如何设置呢

java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 at java.util.ArrayList.get(ArrayList.java:437) at com.xxxx.approval.adapter.ApprovalOrderAdapter.onBindChildViewHolder(ApprovalPlanAdapter.kt:219) at com.xxxx.common.adapter.groupadapter.adapter.GroupedRecyclerViewAdapter.onBindViewHolder(GroupedRecyclerViewAdapter.kt:229) at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7093) at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7172) at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6037) at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6304) at androidx.recyclerview.widget.GapWorker.prefetchPositionWithDeadline(GapWorker.java:288) at androidx.recyclerview.widget.GapWorker.flushTaskWithDeadline(GapWorker.java:345) at androidx.recyclerview.widget.GapWorker.flushTasksWithDeadline(GapWorker.java:361) at androidx.recyclerview.widget.GapWorker.prefetch(GapWorker.java:368) at androidx.recyclerview.widget.GapWorker.run(GapWorker.java:399) at...

如果想给一个组的所有子项设置一个整体的背景如何做?