Zohab Ali
Zohab Ali

Reputation: 9624

How to create multiple list programmatically in android

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.

Upvotes: 2

Views: 149

Answers (1)

Ilya Gazman
Ilya Gazman

Reputation: 32281

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.

Upvotes: 2

Related Questions