Jetpack Compose Animations, Episode 4: Animate Visibility Using AnimatedVisibility | raywenderlich.com

In this episode, learn how to use the AnimatedVisibility composable to animate in a post creation composable. You’ll also learn about the fun and easy ways you can customize the enter and exit animations of AnimatedVisibility.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/21451892-jetpack-compose-animations/lessons/4

We can make the animation even cooler

AnimatedVisibility(
        visible = isShown,
        enter = slideInVertically(initialOffsetY = { it }) + fadeIn(),
        exit = fadeOut() + slideOutVertically(targetOffsetY = { it })
    )