3

I want to add a GridView in child of ExpandableListView.I came to point that it displays same child in all the groups.

Can anyone help me out please? Example image

gauravsheohar
  • 396
  • 5
  • 12
Sharath Kumar
  • 175
  • 1
  • 14

1 Answers1

2

I have used GridLayoutManager to achieve the fuctionality.

SectionedExpandableLayoutHelper class gets the data, puts it in required format and passes it to the SectionedExpandableGridAdapter

Helper class created allows the addition/removal of a whole section altogether and also provides with the facility to add/remove individual items from an existing section

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

Selva Ganesh
  • 151
  • 1
  • 1
  • 5