Improve template
This commit is contained in:
parent
43b9e2cec9
commit
9fed62e4a7
|
@ -6,6 +6,7 @@ import com.airbnb.mvrx.MvRxViewModelFactory
|
|||
import com.airbnb.mvrx.ViewModelContext
|
||||
import com.squareup.inject.assisted.Assisted
|
||||
import com.squareup.inject.assisted.AssistedInject
|
||||
import im.vector.riotx.core.extensions.exhaustive
|
||||
import im.vector.riotx.core.platform.VectorViewModel
|
||||
|
||||
<#if createViewEvents>
|
||||
|
@ -38,7 +39,8 @@ class ${viewModelClass} @AssistedInject constructor(@Assisted initialState: ${vi
|
|||
}
|
||||
|
||||
override fun handle(action: ${actionClass}) {
|
||||
//TODO
|
||||
}
|
||||
when (action) {
|
||||
|
||||
}.exhaustive
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue