ListProvider
open class ListProvider<VH : ListItem.ViewHolder!> : ListItemProvider<ListItem.ViewHolder!>
kotlin.Any | ||
↳ | androidx.car.widget.ListItemProvider<androidx.car.widget.ListItem.ViewHolder> | |
↳ | androidx.car.widget.ListItemProvider.ListProvider |
A simple provider that wraps around a list.
Summary
Public constructors |
|
---|---|
<init>(@NonNull items: MutableList<ListItem<VH>!>) |
Public methods |
|
---|---|
open ListItem<VH> | |
open Int |
size() |
Public constructors
<init>
ListProvider(@NonNull items: MutableList<ListItem<VH>!>)
Public methods
size
open fun size(): Int