In an Android module, does an activity requires Handler to be defined ?
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.
No a handler is a separate object class and so one would not need to be defined if you were making an Activity.
Activity
A handler would be used if you wanted to go do something in another thread/class and call back to the activity/ui.
Handler