Does anybody know, if there is a possibility to do something (in my case finish activity) on toast message will be closed?
Share
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.
You do that simply by creating a
Threadthat lasts as long as theToastis displayed and then you can finish yourActivity.Now create use a Handler that waits for (LENGTH_LONG = 3.5)…
… or (LENGTH_SHORT = 2) seconds