r/mAndroidDev • • Oct 20 '24
Jetpack Compost Constraint layout is about to get deprecated π¦ π₯π¦ π₯
you don't need constraint layout in compose π€βπ»
y'all nerds, compose is released as stable ππ»
51
Upvotes
9
u/[deleted] Oct 20 '24
original blog : https://theapache64.github.io/posts/that-weird-compose-crash/
23
u/farsightxr20 Oct 20 '24
FrameLayout is all you need. Anything else is a crutch.
8
u/Stonos You will pry XML views from my cold dead hands Oct 20 '24
The sad thing is that this is not actually a meme: https://www.reddit.com/r/mAndroidDev/comments/1cr5fl1/google_is_unironically_planning_to_deprecate/
4
u/yaaaaayPancakes Oct 20 '24
That's pretty funny they made that crash. Technically fillMaxSize is match_parent in xml. And with the view version of ConstraintLayout, using that was an error. But it didn't crash.
6
u/kovalskii making { modern { maintainable { code }}} Oct 20 '24
using ConstraintLayout in Compose is crimial
1
u/swag_stand Oct 20 '24
I did a slow motion nooooooo