AsyncTask Theory in Android | Perform Task in Background in Android | Kundan Kumar

Опубликовано: 04 Апрель 2020
на канале: Let's Code with Kundan Kumar
129
12

In this video, You will learn theoretical explanation of AsyncTask in Android. AsyncTask allows to perform task in background and publish result on the UI thread without manipulate threads and/or handlers.

An Asynchronous Task is defined by three generic types, which is called Params, Progress, and Result.

When Asynchronous task is executed, it goes through 4 steps/methods called -
1) onPreExecute()
2) doInBackground(Params...)
3) onProgressUpdates(Progress...) and
4) onPostExecute(Result).

In this Video you you will also see sample code of AsyncTask.


Смотрите видео AsyncTask Theory in Android | Perform Task in Background in Android | Kundan Kumar онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Let's Code with Kundan Kumar 04 Апрель 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 129 раз и оно понравилось 12 людям.