buildSelectableItemAnimation

fun <Context> buildSelectableItemAnimation(selectorStrategyFactory: () -> AnimationSelectorStrategy = { LastSelectedAnimationSelectorStrategy() }, block: SelectableItemAnimationBuilder<Context>.() -> Unit): ItemAnimation<Context>

Builds alternative complete item animations selected by input capability.

selectorStrategyFactory is invoked once per item so its state is never shared between items.