SimpleExpandableListAdapter in Android with Example

Android ExpandableListView is a view that is used to shows items as a vertically scrolling two-level list. The basic difference with ListView is it allows two levels of the display which are groups that can be easily expanded and collapsed by touching to view and their respective children’s items. In order to show the view, ExpandableListViewAdapter is used in android. In many apps, an ExpandableListView facility is required. For example:


In a “city” app(for any city), if the user wants to see a list of engineering colleges/list of art colleges/list of medical colleges, etc.,

List of vegetables/List of fruits/List of Nuts etc., for a “jiomart” kind of app

List of Hatchback/List of crosscut/List of Sedan etc., for a “Uber” kind of app

 



Comments

Post a Comment

Popular posts from this blog

What is a Java string?