Package-level declarations

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun LazyListState.disableScrolling(scope: CoroutineScope)

Await indefinitely, blocking scrolls

Link copied to clipboard
fun LazyListState.enableScrolling(scope: CoroutineScope)

Cancel the previous indefinite "scroll" blocking

Link copied to clipboard
fun LazyListScope.itemIf(condition: Boolean, key: Any? = null, contentType: Any? = null, content: @Composable LazyItemScope.() -> Unit)

Adds an item to a lazy list only when condition is true.

fun LazyGridScope.itemIf(condition: Boolean, key: Any? = null, contentType: Any? = null, span: LazyGridItemSpanScope.() -> GridItemSpan? = null, content: @Composable LazyGridItemScope.() -> Unit)

Adds an item to a lazy grid only when condition is true.