ach92 ach92 - 1 month ago 4
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?

Answer

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.

Comments