Multi Thread in Android: This is Android App Development 2017 and you’ll learn how to use multithreading in Android and Handler in Android. Similarly to multithreading in Java, Android uses a class called Thread to let you execute another busy code in a different task. What you have to do is to override a run() method and place your code inside the method.

Handler, on the other hand, is a guy who is trying to pass the data from the different thread to the UI. If you try to display data directly from a different thread to the UI, then you will have Application Not Response (ANR) error message.

So in this video you will learn Android thread tutorial with java.

 

Comments

comments