There are times when you want to display data as a list. For example a list of emails, a list of messages, a list of tweets, a list of post titles, a list of photos with their titles and other meta data like dates and summary. Android provides 2 classes with the help of which we can achieve a scrollable list of items in our mobile application:
- ListView – Show items in a vertically scrolling list.
- ExpandableListView – Similar to
ListView
but supports grouping of items that can be expanded individually to show its childrens.
Continue reading “Understanding and Implementing Android Lists with ListView, ExpandableListView, ListFragment, ListActivity and Custom List Adapters”