What is the need for an asynchronous task

We must use the Asynchronous Task to launch our new action on the Click tab, but in the ListView or in any view, we can directly start a new activity. Why?

+3
source share
3 answers

http://developer.android.com/reference/android/os/AsyncTask.html

AsyncTask provides the correct and easy use of the user interface thread. This class allows you to perform background operations and publish results in the user interface area without the need to manipulate threads and / or handlers.

, . .

, / , , , , .

, , . , , , .

+7

Source: https://habr.com/ru/post/1772096/


All Articles