LazyListScope
interface LazyListScope
Receiver scope which is used by LazyColumn and LazyRow.
Functions
Link copied to clipboard
inline fun <T> LazyListScope.itemsIndexed(items: Array<T>, crossinline itemContent: @Composable (index: Int, item: T) -> Unit)
Adds an array of items where the content of an item is aware of its index.
inline fun <T> LazyListScope.itemsIndexed(items: List<T>, crossinline itemContent: @Composable (index: Int, item: T) -> Unit)
Adds a list of items where the content of an item is aware of its index.