StackAnimatorState

Properties

Link copied to clipboard
Link copied to clipboard
abstract val targetStackKeys: List<Key>

Keys in the logical stack snapshot most recently processed by the animator.

Functions

Link copied to clipboard
abstract fun <D : CapabilityDispatcher> getOrCreateDispatcher(kClass: KClass<D>, factory: (StackCycleController) -> D): D
Link copied to clipboard
inline fun <D : CapabilityDispatcher> StackAnimatorState<*, *, *>.getOrCreateDispatcher(noinline factory: (StackCycleController) -> D): D
Link copied to clipboard

Registers an animation outside the item animation that must finish before key can be removed from rendering. Multiple registrations for one key are all observed.