items
fun <T : Any> LazyListScope.items( pagingDataState: LazyPagingItems<T>, key: (index: Int) -> Any? = null, itemContent: @Composable LazyItemScope.(value: T?) -> Unit)
Content copied to clipboard
Adds the LazyPagingItems and their content to the scope.
Parameters
pagingDataState
LazyPagingItems instance to display
key
a factory of stable and unique keys representing the item. Using the same key for multiple items in the list is not allowed.
itemContent
the content displayed by a single item.