When to use handler.post() & when to new Thread()
You should use Handler.post() whenever you want to do operations on the UI thread. So let’s say you want to change a TextView‘s text in the callback. Because the callback is not running on the UI thread, you should use Handler.post(). In Android, as in many other UI frameworks, UI elements (widgets) can be only … Read more