element

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.