I want to add a GridView
in child of ExpandableListView
.I came to point that it displays same child
in all the groups
.
Asked
Active
Viewed 3,189 times
3

gauravsheohar
- 396
- 5
- 12

Sharath Kumar
- 175
- 1
- 14
-
1Use RecyclerView for implement this https://github.com/bignerdranch/expandable-recycler-view – Nithinjith Feb 08 '16 at 12:25
-
1Check [GridView inside Expandable list in android](http://stackoverflow.com/questions/5719637/gridview-inside-expandable-list-in-android). – Ravi Feb 08 '16 at 12:28
-
Saw that page @RRR but only expandable adapter class given,not grid adapter class.do you have full coding of it? – Sharath Kumar Feb 08 '16 at 12:30
-
No one will give you full code – Ravi Feb 08 '16 at 12:31
-
Ya but with only adapter class i couldnt get the results. – Sharath Kumar Feb 08 '16 at 12:57
1 Answers
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