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

Adam Bennett

10/10/2020, 9:53 AM
Has anyone worked out a way to run an infinite animation with a specified delay between value changes? I'm using
repeatable
with
AnimationConstants.Infinite
and
animatedFloat
. I'm basically trying to force a canvas redraw every 300ms
Or rather, mutate the state supplied to the canvas every 300ms
a

Adam Bennett

10/10/2020, 10:35 AM
Oh perfect, thanks so much
z

Zhelyazko Atanasov

10/10/2020, 7:34 PM
Oh, thanks a lot! I was also wondering how to do that the other day! (got inspired by Alex Lockwood and @Adam Bennett’s animations 😎 )
🙌 3
7 Views