Package-level declarations

Functions

Link copied to clipboard
fun <T : Any> ScalingLazyListScope.items(items: LazyPagingItems<T>, key: (item: T) -> Any? = null, itemContent: @Composable ScalingLazyListItemScope.(value: T?) -> Unit)

Adds the LazyPagingItems and their content to the scope. The range from 0 (inclusive) to LazyPagingItems.itemCount (exclusive) always represents the full range of presentable items, because every event from PagingDataDiffer will trigger a recomposition.