I was looking into some changes in my AsyncTask classes and was looking into Android Studio complaining about the use of Context. Of course (as I mentioned before), I always used the Application context instead of the Activity context; therefore it would not be killed and restarted. I went and looked at the AsyncTask information and saw that with Android 11 / API 30, it’s going to be deprecated.
Start planning now; you’ve got about 6 months to think about what you would like to do. Update: it’s now deprecated.
Here are two nice articles on the deprecation.
Good luck to us all.
2 thoughts on “Android AsyncTask – RIP”
Comments are closed.