You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 30, 2019. It is now read-only.
I have a parent activity that contains a @Subscribe method. When I try to register the parent using bus.register(this), the AnnotatedHandlerFinder finds all @Subscribe methods in the child class, not in the parent.
That's because: AnnotatedHandlerFinder.findAllSubscribers() take the class of the instance and not the parent.
A solution would be to add a new method bus.register(this, listenerClass), where listenerClassis the type of the parent object?