Is there any example of Animation between Screens ...
# compose
s
Is there any example of Animation between Screens which is Composable? Also i’m not using Compose Navigation. @Doris Liu
n
Well if you are using good ol' fragments you can make it work with the existing transition framework. If you are using compose navigation, I suggest looking at
AnimatedVisibility
, you can make use of the enter transitions. Its a janky solution probably, but it might fit your needs for now.
d
Crossfade
and
AnimatedVisibility
would be my recommendation. Here's an example of
Crossfade
: https://github.com/android/compose-samples/blob/main/Jetsnack/app/src/main/java/com/example/jetsnack/ui/home/Home.kt#L93