//MetaPhrase/com.github.diegoberaldin.metaphrase.core.common.architecture
Package-level declarations
Types
Name | Summary |
---|---|
DefaultMviModel | [jvm] class DefaultMviModel<Intent, State, Effect>(initialState: State) : MviModel<Intent, State, Effect> Basic implementation of the MVI model. This is useful to easily implement the interface by delegation, minimizing the amount of code that is needed when integrating the MVI pattern. The updateState and emitEffect methods are shortcuts to easily update the UI state and emit a side effect. |
MviModel | [jvm] interface MviModel<Intent, State, Effect> Model contract for Model-View-Intent architecture. |