Package-level declarations

Types

Link copied to clipboard

Specifies how a Collection will wrap its contents across the cross axis. For example, in a horizontal list, the cross axis is vertical, meaning this enum controls how the Collection will determine its height.

Link copied to clipboard

Specifies how a Collection will wrap its contents across the main axis.

Link copied to clipboard
typealias OnDataBound = () -> Unit

Callbacks for LazyCollection's data changes.

Link copied to clipboard
typealias OnDataRendered = (isDataChanged: Boolean, isMounted: Boolean, monoTimestampMs: Long, firstVisibleIndex: Int, lastVisibleIndex: Int) -> Unit

Callbacks for LazyCollection's data rendering.

Link copied to clipboard
typealias OnViewportChanged = (firstVisibleIndex: Int, lastVisibleIndex: Int, totalCount: Int, firstFullyVisibleIndex: Int, lastFullyVisibleIndex: Int) -> Unit

Callbacks for LazyCollection's viewport changes.