https://kotlinlang.org logo
#appyx
Title
# appyx
z

Zsolt

07/27/2023, 9:19 PM
Worth mentioning: https://github.com/bumble-tech/appyx/pull/538 by @Andrei Kovalev added a way to observe animated properties further down in the composition. An interactive demo can be found at the bottom of this page, where position and rotation values are displayed: https://bumble-tech.github.io/appyx/interactions/uirepresentation/#observing-motionproperty-in-children-ui In real life you will probably not display the values directly but use them for custom conditions. In the attached (very barebone) video example I’m reading the rotation value to decide whether to show a “front” or a “back” side, i.e. different composables. I’ll create a nicer example later.
🤩 3
👏 1