Introduction

ListView is a viewgroup which groups several items from a data source like array or database and displays them in a scroll-able list. Data are bound with listview using an Adapter class.

Remarks

[ListView](<https://developer.android.com/reference/android/widget/ListView.html>) is a view group that displays a list of scrollable items.

The list items are automatically inserted to the list using an [Adapter](<https://developer.android.com/reference/android/widget/Adapter.html>) that pulls content from a source such as an array or database query and converts each item result into a view that’s placed into the list.

When the content for your layout is dynamic or not pre-determined, you can use a layout that subclasses [AdapterView](<https://developer.android.com/reference/android/widget/AdapterView.html>) to populate the layout with views at runtime. A subclass of the AdapterView class uses an [Adapter](<https://developer.android.com/reference/android/widget/Adapter.html>) to bind data to its layout.

Before using the ListView you should also checking the [RecyclerView](<http://stackoverflow.com/documentation/android/169/recyclerview#t=201609130728062984881>) examples.