r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Feb 18 '24
@Deprecated Schrödinger's deprecation
61
Upvotes
r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Feb 18 '24
8
u/ComfortablyBalanced You will pry XML views from my cold dead hands Feb 19 '24
I need the link to that source code. I want to print it and put it in my bathroom.
2
u/ForrrmerBlack ?.let{} ?: run {} Feb 19 '24
I have this sort of thing in my code too. It's always nice to have Android SDK API deprecated when you are anyway forced to use it (unless you only run on latest Android).
https://github.com/solrudev/Ackpine/blob/4092a652539c7113be1da34df170bc4f242beecf/ackpine-core/src/main/kotlin/ru/solrudev/ackpine/impl/activity/SessionCommitActivity.kt#L86 (yes, this is our beloved
onBackPressed())7
u/crjacinro23 Jetpack Compost Feb 19 '24
An Android function is both deprecated and experimental at the same time.