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™
79
Upvotes
r/mAndroidDev • u/Xinto_ Invalidate caches and restart • May 17 '26
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...
19
u/purple-bihh-2000 May 17 '26
Someone pull up the PR I want to know who is the mastermind of this
16
u/satoryvape May 17 '26
One day they deprecate Compost in favor of Agentic UI
1
u/mutableStateList May 17 '26
Wish one day we can just get rid of Bundle
1
u/KneelB4S8n May 17 '26
I thought that was Microsoft specialty... 🤣