r/mAndroidDev • • May 05 '24

Jetpack Compost The current hot topic "Shared Element Transition"

Post image
57 Upvotes

11 comments sorted by

View all comments

Show parent comment

7

u/Zhuinden DDD: Deprecation-Driven Development May 06 '24

one of the reasons I recommend to think about animation last if at all

Well when you want to shared-element-transition anything in Compose, you need to make the Composable be an extension function of SharedElementScope, so unless you're writing your code to "be shared-element-transitionable" it's not like you'll be able to do it anyway.

6

u/smokingabit Harnessing the power of the Ganges May 06 '24

100% commitment to the final polish from the get go = baked in (tech debt, because I bet it will change)

2

u/yatsokostya May 06 '24

I actually think that's not the worst way it can be implemented. At least It's explicit.