ach92 ach92 - 8 months ago 38
Android Question

Android : How to create a list that contains expandable rows

I am new to Android and want to create a ListView that contains another list inside it. On touch of the outer listview item it should expand or collapse its child list.
(Something similar to collapse in Bootstrap)
Is it possible to do this in Android?


I am not sure what you have tried. But it is possible in Android using a widget called ExpandableListView. Here is a good example to get you started. Also check the official doc.