android - AsyncTask status in Activity's onStop() state -


i have started asynctask decode contents in file on button click. asynctask running fine, pressed home button. activity entered onstop() state. happens asynctask, run or stop in onstop() state?

activity stop not make async task stop. async task continue , if have reference of view in post execute cause exception.

you can use asynctaskloader instead.

read it:

http://mobile.dzone.com/articles/loaders-versus-asynctask


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -