In this video we learn how to offload long-running tasks off of Android's main UI thread using the AsyncTask.
We learn how to implement the following methods in order to establish communication between a worker thread and the UI thread.
doInBackground - code here is executed on a background thread
onPreExecute - this code runs before the doInBackground runs
onPostExecute - this code runs once the background thread is completed
publishProgress onProgressUpdate are used to communicate between the UI and background threads.
Nesta página do site você pode assistir ao vídeo on-line How to implement multi-threading in Android using AsyncTask duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário ProfPaulB 27 Novembro 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 7,990 vezes e gostou 88 espectadores. Boa visualização!