queueStateUpdate

fun queueStateUpdate(key: String, stateUpdate: StateContainer.StateUpdate, isLazyStateUpdate: Boolean)

Adds a state update to the list of the state updates that will be applied for the given component key during the next layout pass.

Parameters

key

the global key of the component

stateUpdate

the state update to apply to the component

isLazyStateUpdate

the flag to indicate if it's a lazy state update