Common
sealed interface PinnedItem
Item pinned in a lazy layout. Pinned item should be always measured and laid out, even if the item is beyond the boundaries of the layout.
Note: this interface is a part of LazyLayout harness that allows for building custom lazy layouts. LazyLayout and all corresponding APIs are still under development and are subject to change.
Properties
Common
val key: Any?
Key of the pinned item.
Common
val index: Int
Last known index of the pinned item. Note: it is possible for index to change during lifetime of the object.