Quick question: Is there a way to display a toast message that doesn’t fade away until I call cancel() on it?
I have tried setting the duration to something like 9999 but that doesn’t work.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, not directly from the SDK, but you can “tweak” your
Toastto make it live longer by callingshow()on it as many times you wish using threads. See this article for more information.