Adding click events to Listview Items - Android Studio Tutorial #46

17 Просмотры
Издатель
A ListView is a type of AdapterView that displays a vertical list of scroll-able views and each view is placed one below the other. Using adapter, items are inserted into the list from an array or database. For displaying the items in the list method setAdapter() is used. setAdapter() method conjoins an adapter with the list.

An adapter acts as a bridge between an AdapterView and the underlying data for that view. The adapter provides access to the data items and is responsible for creating a view for each item in the data set. Adapters are a smart way to connect a View with some kind of data source.

Категория
Язык программирования Kotlin
Комментариев нет.