RefreshableLazyList
Constructors
Properties
If isVertical, sets the default horizontal alignment for items in this list. Else, sets the default vertical alignment for items in this list.
Sets whether the list's height will wrap its contents (Constraint.Wrap) or match the height of its parent (Constraint.Fill).
Whether the list should be vertically oriented.
The window of items to be inflated by the native lazy list widget implementation. The window is defined as a sequential subset of the composables emitted in items. These composables are created by incrementally passing a range of indices to the user-defined item
factories, as specified in the LazyListScope
functions.
The number of un-emitted items after the items window.
The number of un-emitted items before the items window.
Invoked when the user has scrolled the list, such that the firstVisibleItemIndex
or the lastVisibleItemIndex
has changed. When the user performs a fling, onViewportChanged will be invoked multiple times.
A block which describes the content of each placeholder item.
The color of the pull-to-refresh indicator as an ARGB color int.
Whether or not the list should show the pull-to-refresh indicator.
The last ScrollItemIndex programmatically requested by the user. The native lazy list widget implementation will scroll itself such that the item index will be at the start of the viewport.
Sets whether the list's width will wrap its contents (Constraint.Wrap) or match the width of its parent (Constraint.Fill).