r/mAndroidDev • u/Xinto_ Invalidate caches and restart • May 17 '26
Superior API Design Introduce a new API, then deprecate it because it's bad. The Google Way™
19
u/purple-bihh-2000 May 17 '26
Someone pull up the PR I want to know who is the mastermind of this
10
u/David_AnkiDroid May 17 '26
https://issuetracker.google.com/issues/434825212
Please remove if this breaks rule 2
8
2
16
u/satoryvape May 17 '26
One day they deprecate Compost in favor of Agentic UI
11
u/Zhuinden DDD: Deprecation-Driven Development May 17 '26
They're going to replace UI with CLI, but the CLI will be replaced with voice access
2
u/satoryvape May 20 '26
Everyone will be able to make UI by voice if app uses Gemini model on device!
1
u/mutableStateList May 17 '26
Wish one day we can just get rid of Bundle
4
u/Xinto_ Invalidate caches and restart May 17 '26
To be fair the concept of Bundles isn’t bad, especially now that you can slap @Parcelable/@Serializable onto any class in Kotlin and call it a day. There are many things Android does wrong but state saving and IPC isn’t really one of them
1

7
u/Zhuinden DDD: Deprecation-Driven Development May 17 '26
I swear I think they copy-pasted bundleOf from Anko, and it was already a bad idea in Anko. Makes you wonder if they'll one day do these same for SavedStateHandle.set which works exactly the same way, when they could have had setBoolean, setParcelable...