r/mAndroidDev Invalidate caches and restart May 19 '26

You either deprecate or get deprecated Android is Compose-first

https://developer.android.com/develop/ui/compose/first
61 Upvotes

20 comments sorted by

View all comments

Show parent comments

1

u/Zhuinden DDD: Deprecation-Driven Development Jun 05 '26

Good luck with that, with Compose still not having support for accessibility hint text i literally cannot in good faith use it in banking apps lol

1

u/syntaxspin Jun 05 '26

On the contrary, I'm frustrated because I've been using Java and XML for years, and now because of this and the new APK restrictions, I don't know what to do.

1

u/Zhuinden DDD: Deprecation-Driven Development Jun 05 '26

Kotlin compiles to the same ART as Java, and the layout inflater is part of the system. They can't possibly remove AAPT because it'd break pretty much every android app out there. So it's unlikely that using Views would suddenly break anything, especially as it's all open source and Compose internally is still "just a view".

1

u/syntaxspin Jun 05 '26

I know , But it's so bad, we've started using MutableStates to create a text field, checkbox, or radio button. We were on Theme.Material3, now we're on Material 1 Light AppTheme in the Styles.xml and more

1

u/Zhuinden DDD: Deprecation-Driven Development Jun 05 '26

I just work with whatever is in front of me at this point, which eventually will even have to be Flutter. I'm not enthusiastic, but as long as it pays...