Jul 30, 2017 · 1 min read
onCleared() is a method of the ViewModel so I’d “clean” things that are held by the ViewModel in that method.
I don’t have a disposable in the ViewModel . Instead, it is the View that subscribes to the UI changes so it is the UI that holds that subscription (it is attached to the view lifecycle).
