void detach() {
activity=null;
}
in the asynctask, is this correct?but detach() is only called in the activity and not the in the async task itself, i thought synchronized methods assumed that they're both launched from 2 different threads....but in this case the activity(UI thread) calls the detach method like you said, but the async task doesnt, only the attach method...
-- 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
No comments:
Post a Comment