SelectionList

@JvmName(name = "SelectionListState685be857e721_1")
fun <T : Any, K : Any> UiScope.SelectionList(items: StateSource<List<T>>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: Boolean = false, canLoadTrailing: Boolean = false, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Observes items for SelectionList at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow SelectionList. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "SelectionListState685be857e721_2")
fun <T : Any, K : Any> UiScope.SelectionList(items: List<T>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: StateSource<Boolean>, canLoadTrailing: Boolean = false, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Observes canLoadLeading for SelectionList at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow SelectionList. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "SelectionListState685be857e721_3")
fun <T : Any, K : Any> UiScope.SelectionList(items: StateSource<List<T>>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: StateSource<Boolean>, canLoadTrailing: Boolean = false, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Observes items, canLoadLeading for SelectionList at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow SelectionList. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "SelectionListState685be857e721_4")
fun <T : Any, K : Any> UiScope.SelectionList(items: List<T>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: Boolean = false, canLoadTrailing: StateSource<Boolean>, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Observes canLoadTrailing for SelectionList at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow SelectionList. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "SelectionListState685be857e721_5")
fun <T : Any, K : Any> UiScope.SelectionList(items: StateSource<List<T>>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: Boolean = false, canLoadTrailing: StateSource<Boolean>, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Observes items, canLoadTrailing for SelectionList at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow SelectionList. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "SelectionListState685be857e721_6")
fun <T : Any, K : Any> UiScope.SelectionList(items: List<T>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: StateSource<Boolean>, canLoadTrailing: StateSource<Boolean>, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Observes canLoadLeading, canLoadTrailing for SelectionList at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow SelectionList. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


@JvmName(name = "SelectionListState685be857e721_7")
fun <T : Any, K : Any> UiScope.SelectionList(items: StateSource<List<T>>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: StateSource<Boolean>, canLoadTrailing: StateSource<Boolean>, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Observes items, canLoadLeading, canLoadTrailing for SelectionList at the next owner-thread frame cutoff.

Retain caller-owned sources and editing state outside reevaluation. See Observe for shared snapshots, equal-value suppression, and cleanup; literal arguments follow SelectionList. Modifiers and parent data apply to the actual component, while the binding owns its sibling key.


fun <T : Any, K : Any> UiScope.SelectionList(items: List<T>, keyOf: (T) -> K, state: SelectionListState<K>, viewportSize: IntSize, rowHeight: Int, canLoadLeading: Boolean = false, canLoadTrailing: Boolean = false, scrollRate: Int = 10, modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, content: UiScope.(T) -> Unit)(source)

Emits a selectable fixed-row virtual list backed by an immutable in-memory snapshot.

Selection is caller-owned, rows remain keyed, and only visible rows are constructed. A successful primary press updates state before emitting ComponentActions.SelectionChange through modifier.

Receiver

active owner-thread UI scope.

Parameters

items

immutable source snapshot.

keyOf

stable row key mapping.

state

caller-owned selection and navigation state.

viewportSize

exact positive viewport size.

rowHeight

positive fixed row height.

canLoadLeading

whether upward boundary input requests prepended rows.

canLoadTrailing

whether downward boundary input requests appended rows.

scrollRate

positive wheel multiplier.

modifier

active viewport and typed action behavior.

key

optional stable sibling identity.

content

deferred callback that emits exactly one row root.

Type Parameters

T

immutable row model type.

K

stable row key type.