at what circumstances, passing a runnable to the View class instance method post() would not work as expected, and will not Run the runnable – ever?
at what circumstances, passing a runnable to the View class instance method post() would
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.
If the activity is destroyed before the
Runnablecomes to the top of the queue, that might cause theRunnableto not run.If the process is terminated, the
Runnablesimply no longer exists.If you cancel the
Runnable, it will not run.If you are tying up the main application thread before the
Runnablecomes to the top of the queue, theRunnablewill not run, and you will eventually crash with an ANR.