rxjava2
andreya108 opened this issue · comments
Andrey Alekseenko commented
Hi!
Will you update your lib for RxJava 2?
Adam Cantrowitz commented
accepting pull requests!
Andrey Alekseenko commented
Done!
Adam Cantrowitz commented
pending #9 completes CI pass. Will merge when done.
Andrey Alekseenko commented
Thanks!
Andrey Alekseenko commented
Just noticed, I forgot to change README.md.
When new lib will be available in global repos?
Adam Cantrowitz commented
I have updated and released. It should be there in a few hours or so
Andrey Alekseenko commented
Thanks!
In README.md in Unregistering section:
Disposable
is returned on subscribe()
instead of Subscription
in RxJava2:
Disposable disposable = RxBroadcast.fromLocalBroadcast(context, intentFilter).subscribe(...);
...
protected void onStop() {
super.onStop();
if (disposable != null) {
disposable.dispose();
}
}
Adam Cantrowitz commented