r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Dec 08 '25
AsyncTask Clearly the right answer is Handler + Runnable
71
Upvotes
r/mAndroidDev • u/Zhuinden DDD: Deprecation-Driven Development • Dec 08 '25
16
u/CluelessNobodyCz Dec 08 '25
presses all three buttons
5
u/EkoChamberKryptonite Dec 08 '25
ThreadPoolExecutoranyone?4
u/programadorthi Dec 08 '25
Handler + Runnable combined with Activity.isFinishing
4
u/Skameyka Dec 08 '25
All my homies are using IBinder
4
u/budius333 Still using AsyncTask Dec 08 '25
Handler +Runnable is the GOAT
1
u/JadedComment Dec 11 '25
RxJava was the shittiest let's be honest. It was crap, but eith pretentious learning curve
2
u/khsh01 Dec 09 '25
We've been pushing async task for years and haven't solved all the worlds issues. Clearly we need to rethink our strategy.
I think its high time we start thinking outside the box for a more radical approach.
So I propose we start running everything in the main thread. Clearly since its the MAIN thread all the MAIN tasks should be run there!
1
u/Heromimox Dec 09 '25
I'm using java.util.concurrent lol
1
u/codename-Obsidia Dec 11 '25
coroutines
1
u/[deleted] Dec 11 '25
RxJava Single. Every time.