Hey, what’s the best way to achieve this kind of a...
# compose
h
Hey, what’s the best way to achieve this kind of animation? Should I use
IntPropKey()
and set the x,y coordinates using
Layout
composable? or is there any better way of achieving this?
j
You're ultimately going to need to store that information somewhere. To remain stateless probably the best you can do is hoist the state up: https://developer.android.com/jetpack/compose/state#stateless-composables