These are easy to produce, but be careful: you can only call show() from the main GUI thread of your app, otherwise Toast gets confused and won't remove the message after the timeout period. See my other snippet about how to use Toast in an AsyncTask to get around this problem and be able to use Toast in any thread context ..
1 Comment
These are easy to produce, but be careful: you can only call show() from the main GUI thread of your app, otherwise Toast gets confused and won't remove the message after the timeout period. See my other snippet about how to use Toast in an AsyncTask to get around this problem and be able to use Toast in any thread context ..