Created
March 4, 2020 23:16
-
-
Save RohitSurwase/4345ab130fa273a20615c04214058353 to your computer and use it in GitHub Desktop.
Implementation of AacMviActivity abstract activity class,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MainActivity : AacMviActivity<MainViewState, MainViewEffect, MainViewEvent, MainActVM>() { | |
override val viewModel: MainActVM by viewModels() | |
override fun renderViewState(viewState: MainViewState) { | |
//Handle new viewState | |
} | |
override fun renderViewEffect(viewEffect: MainViewEffect) { | |
//Show effects | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment