Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
open class RxViewModel : ViewModel() {
protected val disposables = CompositeDisposable()
override fun onCleared() {
super.onCleared()
disposables.dispose()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment