How to implement multi-threading in Android using AsyncTask

Publicado el: 27 noviembre 2016
en el canal de: ProfPaulB
7,990
88

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.


En esta página del sitio puede ver el video en línea How to implement multi-threading in Android using AsyncTask de Duración hora minuto segunda en buena calidad , que subió el usuario ProfPaulB 27 noviembre 2016, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 7,990 veces y le gustó 88 a los espectadores. Disfruta viendo!