LazyLayoutPinnedItemList

Class

Common
class LazyLayoutPinnedItemList private constructor(private val items: MutableList<PinnedItem>) :
    List<LazyLayoutPinnedItemList.PinnedItem> by items

Read-only list of pinned items in a lazy layout. The items are modified internally by the PinnableContainer consumers, for example if something inside item content is focused.

Note: this class 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.

Secondary Constructors

constructor() : this(SnapshotStateList())