stickyHeader

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.

Parameters

key

The key that uniquely identifies the sticky header.

contentType

The content type of the sticky header.

focusable

Whether the sticky header is focusable or not.

selectable

Whether the sticky header is selectable or not.

content

The content of the sticky header, specified as a lambda function with a SelectableLazyItemScope receiver.