Difference between Handler.post(Runnable r) and Activity.runOnUiThread(Runnable r) [duplicate]
From the official Handler docs Handler There are two main uses for a Handler: (1) To schedule messages and runnables to be executed as some point in the future. (2) To enqueue an action to be performed on a different thread than your own. In short, Handler is used to manage different Runnables. runOnUiThread It … Read more