items
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.
Parameters
count
The number of items to add.
key
A lambda function that provides the key for each item based on the index.
content Type
A lambda function that provides the content type for each item based on the index.
focusable
A lambda function that determines whether each item is focusable based on the index.
selectable
A lambda function that determines whether each item is selectable based on the index.
item Content
The content of each item, specified as a lambda function with a SelectableLazyItemScope receiver and an index parameter.