No stuck toasts here. As documented, you generally don't have to
cancel them as they expire after the time you set, but there have been
cases I've wanted to dismiss them sooner than the timer (depending on
user actions), In the main UI thread you can call

myInstantiatedToast.cancel();

Has to be in the main UI thread or this won't work.

Steve


On Tue, Nov 17, 2009 at 12:09 PM, Wayne Wenthin <wa...@fuligin.com> wrote:
> I've had a user say that one of my toasts never left the screen even after
> exiting the app.   Has anyone else had a stuck toast?
>
> --
> Writing code is one of few things
> that teaches me I don't know everything.
>
> http://www.fuligin.com
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to