SelectableLazyListScope

Interface defining the scope for building a selectable lazy list.

Functions

Link copied to clipboard
abstract fun item(key: Any, contentType: Any? = null, focusable: Boolean = true, selectable: Boolean = true, content: @Composable SelectableLazyItemScope.() -> Unit)

Adds an item to the selectable lazy list.

Link copied to clipboard
abstract fun items(count: Int, key: (index: Int) -> Any, contentType: (index: Int) -> Any? = { null }, focusable: (index: Int) -> Boolean = { true }, selectable: (index: Int) -> Boolean = { true }, itemContent: @Composable SelectableLazyItemScope.(index: Int) -> Unit)

Adds multiple items to the selectable lazy list.

Link copied to clipboard
abstract fun stickyHeader(key: Any, contentType: Any? = null, focusable: Boolean = false, selectable: Boolean = false, content: @Composable SelectableLazyItemScope.() -> Unit)

Adds a sticky header to the selectable lazy list.