Package-level declarations

Functions

Link copied to clipboard
fun LazyListScope.element(identifier: Enum<*>, content: @Composable LazyItemScope.() -> Unit)

Adds a keyed lazy-list item using an enum entry as its stable identity.

fun LazyListScope.element(key: Any, contentType: Any?, content: @Composable LazyItemScope.() -> Unit)

Adds a lazy-list item with an explicit stable key and content type.

Link copied to clipboard
fun LazyListScope.elementIf(condition: Boolean, identifier: Enum<*>, ifContent: @Composable LazyItemScope.() -> Unit, elseContent: @Composable LazyItemScope.() -> Unit)
fun LazyListScope.elementIf(condition: Boolean, key: Any, contentType: Any?, ifContent: @Composable LazyItemScope.() -> Unit, elseContent: @Composable LazyItemScope.() -> Unit)
Link copied to clipboard
fun LazyListScope.header(identifier: Enum<*>, content: @Composable LazyItemScope.(Int) -> Unit)

fun LazyListScope.header(key: Any, contentType: Any?, content: @Composable LazyItemScope.(Int) -> Unit)

Adds a sticky header with an explicit stable key and content type.