stickyHeader

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

A method that enables sticky header behavior in a list or grid view.

Parameters

key

The unique identifier for the sticky header.

contentType

The type of content in the sticky header.

selectable

Specifies whether the sticky header is selectable.

content

The content to be displayed in the sticky header, provided as a composable function