LazyList
data class LazyList(val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val placeholder: () -> Unit, val items: () -> Unit)
The documentation for LazyList is a subset of the documentation for RefreshableLazyList. In order to avoid documentation duplication, see LazyList. The documentation should be unified once https://github.com/cashapp/redwood/issues/1084 is implemented and RefreshableLazyList has been deprecated and removed.
See also
Constructors
Link copied to clipboard
constructor(isVertical: Boolean, onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, itemsBefore: Int, itemsAfter: Int, width: Constraint, height: Constraint, margin: Margin, crossAxisAlignment: CrossAxisAlignment, scrollItemIndex: ScrollItemIndex, placeholder: () -> Unit, items: () -> Unit)