https://kotlinlang.org logo
#compose
Title
# compose
a

Alexander Maryanovsky

11/25/2023, 2:58 PM
How can I tell
AnimatedContent
to not run an animation at all? Returning
EnterTransition.None togetherWith  ExitTransition.None
for the ContentTransform results in a frame or two where both the old and new content are visible.
Ah, got it.
Copy code
fadeIn(SnapSpec()) togetherWith fadeOut(SnapSpec()))
👍 1
3 Views