When an android application is launched the main thread is automatically created. This thread is also called UI thread. This main thread is responsible for everything related to UI i.e drawing the views, dispatching various events and handling the clicks and updating the views. If we perform heavy operations or long running operations UI thread … Continue reading What is the use of Handler in Android