AnimationSelectionStrategy

Returns a common source from either snapshot, or null for independent item selection. Input cycles without a stack change receive the same stack as both snapshots. The source must have a cycle context, including a removal context when departing.

Functions

Link copied to clipboard
abstract fun sourceItem(inputCapability: KClass<*>?, previousStack: List<Item>, targetStack: List<Item>): Item?