filmov
tv
AsyncTask in Android Practicle | Android Tutorial for beginners
Показать описание
In this video we will see how to use asyncTask in our project
Here we will take input from the user and process it through the server.
So here we are connecting with server.
There will be to editText through which we will take input and one button to calculate.
We will give the server those input and process the result
AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers.
An asynchronous task is defined by a computation that runs on a background thread and whose result is published on the UI thread. An asynchronous task is defined by 3 generic types, called Params, Progress and Result, and 4 steps, called onPreExecute, doInBackground, onProgressUpdate and onPostExecute.
Follow on Facebook:
Subscribe to our other channel:
Telusko Hindi :
Subscribe to the channel and learn Programming in easy way.
Here we will take input from the user and process it through the server.
So here we are connecting with server.
There will be to editText through which we will take input and one button to calculate.
We will give the server those input and process the result
AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers.
An asynchronous task is defined by a computation that runs on a background thread and whose result is published on the UI thread. An asynchronous task is defined by 3 generic types, called Params, Progress and Result, and 4 steps, called onPreExecute, doInBackground, onProgressUpdate and onPostExecute.
Follow on Facebook:
Subscribe to our other channel:
Telusko Hindi :
Subscribe to the channel and learn Programming in easy way.
Комментарии