caif
      Target filter
Search in API
Skip to content
    caif
decompose-extensions/com.nxoim.caif.decompose/decomposeAnimations

decomposeAnimations

fun <Configuration : Any, Child : Any> decomposeAnimations(default: () -> ItemAnimation<StackAnimationContext> = { adaptiveStackAnimation() }): DecomposeAnimationFactory<Configuration, Child>

Creates a DecomposeAnimationFactory with a default animation for all items.


fun <Configuration : Any, Child : Any> decomposeAnimations(selector: (Child) -> ItemAnimation<StackAnimationContext>): DecomposeAnimationFactory<Configuration, Child>

Creates an exhaustive DecomposeAnimationFactory mapping Child to animations.


fun <Configuration : Any, Child : Any> decomposeAnimations(selector: (Configuration, Child) -> ItemAnimation<StackAnimationContext>): DecomposeAnimationFactory<Configuration, Child>

Creates an exhaustive DecomposeAnimationFactory mapping Configuration and Child to animations.


fun <Configuration : Any, Child : Any> decomposeAnimations(default: () -> ItemAnimation<StackAnimationContext>, selector: (Child) -> ItemAnimation<StackAnimationContext>?): DecomposeAnimationFactory<Configuration, Child>

Creates a DecomposeAnimationFactory with a customizable default fallback.

Generated by Dokka
© 2026 Copyright