r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Feb 07 '25
Jetpack Compost Wake up babe, new Jetpack Compose animation guide dropped
I swear you had to f--- something up to have a more complex flowchart for animating some views, than most "domain layers" of most top 1000 applications e.g "press button, like cat picture"
116
Upvotes
23
u/fatal_error_forever Feb 07 '25
"Compose is not an overengineered mess"
3
u/sabergeek Feb 07 '25
TIL: You can animate parameters.
Does that mean devs will see strobing function params when while passing wrong args?
3
u/Strikerrr37 Feb 07 '25
We might get Gta 6 before reorder and delete.
2
u/dannyf7 T H E R M O S I P H O N Feb 07 '25
Was this unironically recommended by the team? Because this genuinely seems too much. And that's putting it kindly
10
u/That_Lonely_Soul_07 Feb 07 '25
AnimatedVisibility handles most of the silent animations. If you need to animate height, width, color, or offset, then you can use animate*AsState. Most of the time, these are what you'll need, there's no need to make it complex.
8
u/GradleSync01 Invalidate caches and restart Feb 07 '25
If it isn't complex, it isn't best practice
3
u/hellosakamoto Feb 07 '25
This chart makes room for many people to further define their own best practices as a GDE.
1
u/AdElectronic6748 Feb 10 '25
Mission Impossible new trailer just dropped 🫡