subscriber, use the @Subscribe annotation on Class or event method: public void onEvent(AnyEventType event) {} 2. Register subscribers: eventBus.register(this); 3. Post events to the bus: eventBus.post(event); 4. Unregister subscriber: eventBus.unregister(this); STEPS
bindings for Android. • ViewObservable & WidgetObservable provides bindings for views, clicks, scroll, input etc. • AndroidObservable provides facilities for working within the Android lifecycle. Bind to activity, fragment or even broadcasts. • AndroidSchedulers and HandlerThreadScheduler to be used on UI thread or Handler threads
register and unregister process Too good to be true :) • Can be confusing • Add some complexity especially for RxAndroid ⇒ Try them in your next project