theapache64

    theapache64

    1 year ago
    Can somebody show me a simple example of
    TargetBasedAnimation
    ? 🤔 (Maybe something with
    Box
    ,
    Text
    etc 😬)
    Doris Liu

    Doris Liu

    1 year ago
    TargetBasedAnimation
    is very low level. It is not an API for simple use cases. You could use it for cases where you manipulate the animation time, such as pause/resume an animation, manage an animation's interruption, etc. If you are interested in seeing how it's used, you can find it as a building block for a lot of the higher level APIs such as Transition, Animatable, etc. See: https://developer.android.com/images/jetpack/compose/animation-low-level.svg