changed the location of the parameters

This commit is contained in:
Rinat Nurmukhametov 2021-08-16 14:40:12 +03:00
parent 6267950b63
commit 1a63c13680
1 changed files with 2 additions and 5 deletions

View File

@ -9,11 +9,8 @@ import ru.touchin.roboswag.mvi_arch.marker.ViewState
/**
* Interface with the main MVI methods and fields
*/
interface IMvi<NavArgs, State, Action, VM>
where NavArgs : Parcelable,
State : ViewState,
Action : ViewAction,
VM : MviViewModel<NavArgs, Action, State> {
interface IMvi<NavArgs : Parcelable, Action : ViewAction, State : ViewState, VM>
where VM : MviViewModel<NavArgs, Action, State> {
/**
* Use [viewModel] extension to get an instance of your view model class.