Wednesday, May 2, 2012

Some questions about AsyncTask

As far as I understand in an AsyncTask only doInBackground is executed in its own task. All other methods - e.g. onPostExecute - are executed in the Activity task.

Is it true, that onPostExecute and let's say onCofigurationChanged are in fact synchronized?



Does the system clean up a task, if it is finished or canceled and no longer referenced?





No comments:

Post a Comment