RxJava2-Android-Samples
RxJava2-Android-Samples copied to clipboard
The content on courses does not match the code
disposables.clear()
is invoked in onStop()
But in the comment and also Github
disposables.clear()
is invoked in onDestroy()
BTW, there are several typos on the page Using Disposable in RxJava:
Let**'s** say there is an observable which emits some values, but while emitting values, the user presses back button, then it must stop emitting values.
We will modify these soon.