items

inline fun <T> LazyListScope.items(items: List<T>, crossinline itemContent: @Composable (item: T) -> Unit)

Adds a list of items.

Parameters

items

The data list.

itemContent

The content displayed by a single item.


inline fun <T> LazyListScope.items(items: Array<T>, crossinline itemContent: @Composable (item: T) -> Unit)

Adds an array of items.

Parameters

items

The data array.

itemContent

The content displayed by a single item.