Package-level declarations
Types
Link copied to clipboard
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.
Link copied to clipboard
interface RedwoodLazyLayout
Link copied to clipboard
data class RefreshableLazyList(val isVertical: Boolean, val onViewportChanged: (firstVisibleItemIndex: Int, lastVisibleItemIndex: Int) -> Unit, val itemsBefore: Int, val itemsAfter: Int, val refreshing: Boolean, val onRefresh: () -> Unit?, val width: Constraint, val height: Constraint, val margin: Margin, val crossAxisAlignment: CrossAxisAlignment, val scrollItemIndex: ScrollItemIndex, val pullRefreshContentColor: UInt, val placeholder: () -> Unit, val items: () -> Unit)