Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registering the listener in base class doesn`t work #29

Closed
teddybee opened this issue Sep 29, 2016 · 2 comments
Closed

Registering the listener in base class doesn`t work #29

teddybee opened this issue Sep 29, 2016 · 2 comments

Comments

@teddybee
Copy link

teddybee commented Sep 29, 2016

I have a some activities, I have made a Base class for them where I put the registration into the OnCreate() method, unregister the listener in the OnDestroy().
The Subscribe method is also in the Base class.
Unfortunately the messages newer arrived for the subscribers. If I move the Subscribe methods into the child class, it is working good.
Is there something I have missed, or is it a bug in the RxBus?

@hwangjr
Copy link
Member

hwangjr commented Sep 30, 2016

Ref #13

@hwangjr hwangjr closed this as completed Sep 30, 2016
@teddybee
Copy link
Author

Thank you for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants