Do you guys somehow pass the viewmodel's scope int...
# android-architecture
g
Do you guys somehow pass the viewmodel's scope into the interactor/usecase? Sometimes you'd want to subscribe to rx in the usecase, maybe transform
coroutine<->rx<->livedata
, etc. So, there is a need for the lifecycle, coroutine scope, etc. Or, you just define
clear()
method and call it from the viewmodel?