This class was deprecated in API level R. - what does it mean?

Viewed 731

I look at the documentation on AsyncTask. It contains such statement:

This class was deprecated in API level R.

I look at the table of available versions of the Android API: Codenames, Tags, and Build Numbers I don’t see any API level R there. What does API level R mean? What is it version? Where can I see a document in which this version of the API is mentioned?

1 Answers

R is the code name for upcoming Android 11.

But even if the class gets deprecated, it will probably stay araound for a couple of years. There will just not be any more changes/improvements for it.

Also there's a lot of other, simpler ways to run code in the background nowadays.

Related