what is the main purpose of the post method which are associated with views such as imageview,textview etc.
new View(Context).post(runnable)
An example will be appreciated 🙂
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.
from the api document:
it look likes: if you want to update the view in another thread, you can simple using
postmethod to update the view. Although the type isrunnable, but it can’t run in a separated thread, it will run in the ui thread just like invoke a normal method.