Category Archives: Expandable list view in android

ExpandableListView and CheckBox in Android:

Today we will learn, how to customize a expandablelistview to show contact groups and group members from the device. We use expandable list view because, a two level view is required where contactgroups are listed as parent and contact list are listed as children.We store groups and their respective members in hashmap and pass it to the expandable list adapter. Exapandable list adapter extends BaseExpandabeListAdapter. In Expandable list adapter, we will set the layout of group view, set layout of child view, set items to be shown in groupview and childview, get list items and many more.
The complete working demo of expandable list view is given in this blog….feel free to download and use it…if u have any problems regarding expandable list adapter, feel free to ask.