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

Tash

11/05/2020, 6:20 PM
Hi all. Looking to do a fadeIn -> wait -> fadeOut animation. Would also like to get a listener for when the whole animation is complete. Looking into using
transitionDefinition
to build out the flow. Is that the best way to accomplish something like this?
d

Doris Liu

11/06/2020, 2:09 AM
If you are only animating one float, consider
animatedFloat
with a KeyframesSpec, assuming you know beforehand how long to wait in between fade in and fade out. :-)
👍 2
t

Tash

11/06/2020, 2:20 AM
Oh nice! Will look into that. Thanks @Doris Liu
7 Views