After the background thread of an AsyncTask has completed (i.e., doInBackground returns), it is stated that onPostExecute runs "on the UI thread". Can I assume that if the activity has gone into the "paused" state or other non-active state, that onPostExecute will not be called until the activity has resumed (and is in the foreground)?

It seems like it has to work this way, but I'm not sure exactly how the threading model works in Android.

  Doug Gordon
  GHCS Software

--
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