Okay, I found out, that it is like I thought - onPostExecute() is
always run after the last execution of onProgressUpdate().

On 12 Jun., 20:54, Sven Bendel <[email protected]> wrote:
> Hi all!
>
> I'm messing around with the AsyncTask class for a few hours now and
> got a little question:
>
> Is onPostExecute() guaranteed to be executed *after* onProgressUpdate
> () in any case?
>
> It should be because both are located in the main thread, at least
> that's how i understood the reference, and onPostExecute() is always
> run after doInBackground() which executes onProgressUpdate() by
> invoking publishProgress(), but nevertheless i'm not completely sure
> about the above question.
>
> Thanks in advance,
> Sven
--~--~---------~--~----~------------~-------~--~----~
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