We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13603d8 commit eefa39dCopy full SHA for eefa39d
1 file changed
app/src/main/java/com/morihacky/android/rxjava/rxbus/RxBusDemo_Bottom1Fragment.java
@@ -44,13 +44,10 @@ public void onStart() {
44
_subscriptions = new CompositeSubscription();
45
46
_subscriptions//
47
- .add(_rxBus.toObserverable()//
48
- .subscribe(new Action1<Object>() {
49
- @Override
50
- public void call(Object event) {
51
- if (event instanceof RxBusDemoFragment.TapEvent) {
52
- _showTapText();
53
- }
+ .add(_rxBus.asObservable()//
+ .subscribe(event -> {
+ if (event instanceof RxBusDemoFragment.TapEvent) {
+ _showTapText();
54
}
55
}));
56
0 commit comments