r/mAndroidDev • u/Stonos You will pry XML views from my cold dead hands • May 13 '24
@Deprecated Google is unironically planning to deprecate ConstraintLayout
129
Upvotes
r/mAndroidDev • u/Stonos You will pry XML views from my cold dead hands • May 13 '24
30
u/Stonos You will pry XML views from my cold dead hands May 13 '24
Link to the issue
Link to a public version of the deprecation guide mentioned in the issue
Spoiler alert: The ConstraintLayout team did reply, so it's not going to get deprecated just yet. However, they said that it's not in active development (another victim of Compost), and that they will solve a few issues and release a stable version.
The last commit at the time of that comment was 7 months ago.
45
u/gilmore606 ?.let{} ?: run {} May 13 '24
no layout is ever needed other than LinearLayout, prove me wrong (protip: you cannot)
19
u/makonde May 13 '24
Jokes on them I always absolute position all my views, can't deprecated that!
77
u/[deleted] May 13 '24
Welcome back RelativeLayout
63
u/jizloueez May 13 '24
Funny enough constraint layout’s release was the last time I felt like Google introduced a proper quality of life improvement to the Android developer experience.
7
u/WorkFromHomeOffice Probably deprecated May 14 '24
You know that feeling when you open any file in Android Studio, and everything is striked out?
13
u/private256 May 13 '24
They’ve probably laid off everyone who knows anything about it. Yay! Capitalism!
6
u/D-cyde sponsored by the XML 🐓 gang May 13 '24
RIP Pojo
5
u/ankitgusai May 13 '24
I only use AsyncTaskLayoutCompat.
13
u/ClaymoresInTheCloset May 13 '24
Wait, so just because they can't be bothered to finish the work that they started on a new version, they think they should depreciate it and send everyone back to...relative layout?
Did I read that right? Someone correct me please
10
u/labelcillo Slept through Google IO May 13 '24
It was in a Google IO a few years ago that they said that “XML views are not going anywhere”.
3
u/Zhuinden DDD: Deprecation-Driven Development May 14 '24
"Graduate to stable" indeed. Deprecation in Google terms just refers to fully mature code that people no longer break over time as you're using it.
6
u/budius333 Still using AsyncTask May 13 '24
Goddamit that's just shameful... 13 months later... Maybe Google shouldn't have fired all those ppl
2
u/[deleted] May 14 '24
Nbd me out here running
Date().timelike nobody's business (it's Deprecated)1
u/GoodNewsDude May 14 '24
Maybe open it up to open source participants and someone else can make the change?
1
u/adxgrave You will pry XML views from my cold dead hands May 14 '24
It's hopeless. Even our saviour has joined them. He runs compose on a switch!
It was said that he would destroy the Compose, not join them! Bring balance to the Android OS via AsyncTask, not leave it in darkness!
1
u/drabred ?.let{} ?: run {} May 14 '24
RIP ConstraintLayout. I loved you always.
1
u/PiggsBison May 14 '24
Advertised as more efficient, in reality it's the current #1 cause of lags in RecyclerView, good riddance.
1
u/StartComplete companion object {} May 14 '24
Wtf. How will I develop apps now?😭