In RxJava 1, which subscribes to Observer, a subscription has been returned that can be unsubscribed.
In RxJava 2, subscribing to Observer returns void and not Disposeable. How can I stop this "subscription"?
EDIT : how to handle the case when we use an observer that itself does not implement Disposable , like BehaviorSubject ? Like in this example:
source share