Monday, December 13, 2010

[android-developers] Concern on AsyncTask in an Activity

I'm just confused about the lifecycle of activity and AsyncTask.

I have an activity which opens new AsyncTask. Now if finish() that activity, will be background task also get closed ?
Or will it be still going ?
If going on then how long it will be going, till my code exceute or till the app gets exited ?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate