`AsyncTask` is deprecated !! <https://android-rev...
# android
l
AsyncTask
is deprecated !! https://android-review.googlesource.com/c/platform/frameworks/base/+/1156409/6/core/java/android/os/AsyncTask.java#194 My reactions: 1) Meh: it was about time! 2) Good: they suggest to
use coroutines (Kotlin concurrency utilities) instead
3) Bad: the link they provide is a stupid. https://developer.android.com/topic/libraries/architecture/coroutines is not where anybody should start learning about coroutines Slack Conversation
👍 1
1️⃣ 3
k
3) don't think they can link external source in the OS code base.
l
There's no reason they couldn't, it'd be all artificial restrictions. Not allowing linking to official doc of a used programming language would be a stupid rule!
k
android != kotlin. They shouldn't link outside of their reach. Also They mention Live Data and other android specific tooling for Coroutines which is not in the Coroutines docs
the fact itself that they promoting Coroutines is great, does not matter where they link. Shows how much Kotlin is the future of Droid 🙂
I wonder how big is the reach of this deprecation. that would be an interesting insight to the market
l
They shouldn't link outside of their reach
I strongly disagree.
They should link to the two: Kotlin doc and Android doc
That said, the Android doc might link the Kotlin doc, making the sources link Kotlin docs transitively.
Beware, there's a transtive way to go to google.com from Android docs, which would then link you virtually anywhere, even on Netflix! That goes so beyond their reach, and yet… this is ok, no need to prevent that artifically. If there's a technical topic, it's best to link the best doc, regardless of it's Android doc itself or not.
i
AsyncTask should be deprecated for very long times
p
I always had it deprecated. Never used it.