Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Implementation of AacMviViewModel generic base class.
class MainActVM(application: Application) :
AacMviViewModel<MainViewState, MainViewEffect, MainViewEvent>(application) {
init {
viewState = MainViewState(fetchStatus = FetchStatus.NotFetched, newsList = emptyList())
}
override fun process(viewEvent: MainViewEvent) {
super.process(viewEvent)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment