AsyncTask
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.
AsyncTask is designed to be a helper class around Thread and Handler
and does not constitute a generic threading framework.
If you need to keep threads
running for long periods of time, it is highly recommended you use the various APIs.
An asynchronous task is defined by a computation that runs on a background...