I have a handler and I have to send responses to different activities for the same condition.Is it possible?Thanks in advance
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.
Handler will work only on the thread on which it was originally created on.
What exactly is your scenario when you need to send response to more than one activity at a time?
Maybe you should just implement an EventListener and EventDispatcher so you EventDispatcher will receive events (ex. network) and it will notify to its listeners (who ever registered to its events).