BaseViewModel

constructor(initialState: S)(source)

Parameters

S

The type of UI state that this ViewModel manages. It should implement UiState.

A

The type of user actions (intents) that this ViewModel responds to. It should implement UiAction.