Sometime I feel that using AsyncTask is quite overkill for the task, I am looking for similar function like SwingUtilities.invokeLater in android. Because I just want to execute one line of code, no point to create a new class for that.
Maybe you're looking for:
Activity.runOnUiThread(Runnable action)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With