szabolcs wrote: > Am I correct in assuming that any callbacks of the AsyncTask that are > run on the UI thread (e.g. onPostExecute) are 'queued' during a screen > rotation?
No. > I assumed so, since looking at DDMS, it seems like the rotation does > NOT create a new UI thread, in which case any calls to the UI must be > stalled while the UI thread is busy completing the rotation, right? No. > It would be great if this was true, since it would save me from having > to do a bunch of synchronization work for posting back from AsyncTasks > (I am keeping the tasks running during a rotation) - at least so I > think.. No there, too. If you wish to modify the UI, your AsyncTask needs access to the current activity. This may or may not be the instance of the activity that kicked off the AsyncTask. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginning Android_ from Apress Now Available! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

