LazyListItemInfo

data class LazyListItemInfo(val index: Int, val key: Any, val contentType: Any?, val offset: Int, val size: Int, val spanIndex: Int = 0, val spanSize: Int = 1)(source)

Describes one visible lazy item in platform-neutral renderer units.

Throws

if index, size, or span values violate their ranges

Constructors

Link copied to clipboard
constructor(index: Int, key: Any, contentType: Any?, offset: Int, size: Int, spanIndex: Int = 0, spanSize: Int = 1)

Properties

Link copied to clipboard

optional reuse classification supplied by the DSL

Link copied to clipboard
val index: Int

non-negative data-set index

Link copied to clipboard
val key: Any

semantic item identity retained across moves

Link copied to clipboard
val offset: Int

item start relative to the viewport start; may be negative when partially clipped

Link copied to clipboard
val size: Int

non-negative main-axis size

Link copied to clipboard

non-negative starting span for grid layouts

Link copied to clipboard

positive number of spans occupied by the item