A walkthru over your code could reveal something.

On Nov 6, 3:44 am, Bret Foreman <[email protected]> wrote:
> I've got a progress dialog that I'm unable to dismiss and I can't
> figure out why. The first time through the code, it shows the dialog
> and dismisses it perfectly. The second time through it fails to
> dismiss. There is no error in the logcat and no exceptions are thrown,
> but the dialog remains on the screen. If I run the code a third time,
> while the dialog is on the screen, a window leak exception is shown in
> the logcat when the code attempts to show the dialog, which is pretty
> much what you'd expect.
>
> The showDialog is called right before I call the execute method of an
> AsyncTask and the dismissDialog is called in the onPostExecute method
> of that AsyncTask.
>
> Any ideas?

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