I think this problem may be more complex than you imply.  In general, the 
Activity may be in a pretty inconsistent state (Stopped, OS thinks it is 
dead) when your AsyncTask returns.  I can't imagine anything that you could 
do, in that circumstance, that would work.

Is there a way to attach the lifecycle of the DialogFragment to the 
lifecycle of the Activity?

G. Blake Meike
Marakana

The second edition of Programming Android is now on-line:
http://shop.oreilly.com/product/0636920023005.do

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

Reply via email to