r/mAndroidDev • u/Stonos You will pry XML views from my cold dead hands • Mar 04 '26
@Deprecated Custom Views are deprecated
63
Upvotes
r/mAndroidDev • u/Stonos You will pry XML views from my cold dead hands • Mar 04 '26
9
u/Stonos You will pry XML views from my cold dead hands Mar 04 '26
https://developer.android.com/studio/releases#custom-view-preview-deprecation
Memes aside, what does this actually mean? Is this only about the preview that you get when editing the source code of a custom View, or does it also mean that custom Views won't be rendered at all in layout previews?
22
u/SyrupInternational48 Mar 04 '26
Might as well remove all XML based approach and call it Android Jetpack Studio.
Why render xml when we can render codes
25
u/DearChickPeas Mar 04 '26
I love how the people who can't make a navigation system, don't understand what perfomance means. Pure self-flagelation frolm web-devs pretending to be software engineers.
14
u/hellosakamoto Mar 04 '26
More efficient? More intuitive? Can we deprecate recomposition and stability in compose first?
9
u/satoryvape Mar 04 '26
Jetpack Compose and intuitive are kinda different breeds. Making Views in XML was intuitive
4
u/Xammm Jetpack Compost Mar 04 '26
Should I care? I haven't messed with Views since a long time ago.
3
u/fawxyz2 You will pry XML views from my cold dead hands Mar 04 '26
Google can just leave Custom View Preview alone, like freezing it, and go focus on whatever compose thing they're doing.
but instead they choose to ditch the already-working feature.
3
u/Wonderful_Trainer412 Mar 04 '26
When Android will be deprecated??
2
u/ReturnNu11 Mar 04 '26
What about custom dialogs? All of my dialogs r written in xml 🥲
2
u/[deleted] Mar 04 '26
This is why I'm still on Koala. And sticking to old libraries and Android OS versions.
I don't work in a company anymore, so I'll do what I want.
2
u/mih4elll Mar 06 '26
go to Java M.E wiyth Eclipse o netbeans
1
u/Waste-Active-7154 Mar 16 '26
man this is so tiring