Last active
May 8, 2020 13:58
-
-
Save antonicg/6c9fbd5684de36d386b80231adf5b4a3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val disposable = someObservable.subscribe() | |
disposable.dispose() | |
// or... | |
val compositeDisposable = CompositeDisposable() | |
compositeDisposable.add(disposable) | |
compositeDisposable.dispose() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment