Why can't I not `startWith { MainActivityViewState...
# rx
a
Why can't I not
startWith { MainActivityViewState.Loading() }
here? It expects
MainActivityViewState.Success
as a type. Am I using sealed classes the wrong way? What I want to achieve is to check with
when(viewState)
inside of
view.render(viewState)
what to do based on that.