在Android中使用GridView Child的ExpandableLIstView

时间:2016-02-08 12:12:37

标签: android gridview expandablelistview

我想在GridView的孩子中添加ExpandableListView。我指出它在所有child中显示相同的groups

有人可以帮帮我吗? Example image

1 个答案:

答案 0 :(得分:2)

我使用了GridLayoutManager来实现功能。

SectionedExpandableLayoutHelper类获取数据,将其置于所需格式并将其传递给SectionedExpandableGridAdapter

创建的助手类允许完全添加/删除整个部分,并且还提供从现有部分添加/删除单个项目的工具

https://github.com/SelvaGaneshM/SectionedExpandableGridRecyclerView-master