Android Question Event always raised in activity?

wimpie3

Well-Known Member
Licensed User
Longtime User
When I add a button in a code module or in a class to an Activity, the click event always arrives on the Activity. Is there a way to make an event arrive in the code module or class without forwarding it from the Activity?
 

DonManfred

Expert
Licensed User
Longtime User
code module cannot use activity objects. Use a class or a service
 
Upvote 0
Top