How to create multiple list programmatically in android

Viewed 50

I need to create multiple lists and each list should be in collapse view as shown in pic below

enter image description here

User can open multiple collapse section at a time. I have to create this but I am not sure how I can do that, any hint or help will be highly appreciated.

1 Answers

It's called ExpandableListView

A view that shows items in a vertically scrolling two-level list. This differs from the ListView by allowing two levels: groups which can individually be expanded to show its children. The items come from the ExpandableListAdapter associated with this view.

Related