LazyListScope
Kotlin
|Java
interface LazyListScope
androidx.compose.foundation.lazy.LazyListScope |
Receiver scope which is used by LazyColumn and LazyRow.
Summary
Public methods | |
---|---|
abstract Unit |
item(key: Any? = null, content: LazyItemScope.() -> Unit) Adds a single item. |
abstract Unit |
Adds a count of items. |
abstract Unit |
stickyHeader(key: Any? = null, content: LazyItemScope.() -> Unit) Adds a sticky header item, which will remain pinned even when scrolling after it. |
Extension functions | ||||||||
---|---|---|---|---|---|---|---|---|
From androidx.compose.foundation.lazy
|
||||||||
From androidx.paging.compose
|