Reputation: 130
I want to know when deprecated classes become unusable. How can I find out about it? Example, I used below.
android.widget.TabHost
androidx.fragment.app.FragmentPagerAdapter
androidx.fragment.app.FragmentTabHost
android.os.AsyncTask
Upvotes: 0
Views: 62
Reputation: 1007266
Framework classes, such as the ones that you cite, cannot be removed without breaking backwards compatibility.
It is entirely possible that at some point Google will break backwards compatibility and remove these classes from a future version of Android. IMHO that is unlikely, and if it happens, the community will be very noisy about it, so hopefully you will not miss it.
Library classes, such as the androidx
ones from the Jetpack, can and do get removed from the library in future versions. However, usually, you have some control over when you take on new library versions.
Upvotes: 2