ListView

suggest change

Introduction

ListView is a view group that groups several items from a data source such as an array or a database and displays them in a scrollable list. The data are bound to the ListView using an Adapter.

Remarks

ListView is a view group that displays a list of scrollable items.

The list items are automatically inserted into the list using an Adapter 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 to populate the layout with views at runtime. A subclass of the AdapterView class uses an Adapter to bind data to its layout.

Before using ListView, also check the RecyclerView examples.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents