item

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.

Parameters

key

The key that uniquely identifies the item.

contentType

The content type of the item.

focusable

Whether the item is focusable or not.

selectable

Whether the item is selectable or not.

content

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