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.
Watch video AsyncTask Theory in Android | Perform Task in Background in Android | Kundan Kumar online without registration, duration hours minute second in high quality. This video was added by user Let's Code with Kundan Kumar 04 April 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 129 once and liked it 12 people.