Package-level declarations

Types

Link copied to clipboard
abstract class BaseMviViewModel<S : MviState, I : MviIntent, E : MviEffect>(initialState: S, val effectDispatcher: CoroutineDispatcher) : ViewModel, MviViewModel<S, I, E>

Coordinates BaseMviViewModel behavior in the SDAI core UI layer.

Link copied to clipboard

Provides the EmptyEffect singleton used by the SDAI core UI layer.

Link copied to clipboard

Provides the EmptyIntent singleton used by the SDAI core UI layer.

Link copied to clipboard

Provides the EmptyState singleton used by the SDAI core UI layer.

Link copied to clipboard
interface MviEffect

Defines the MviEffect contract for the SDAI core UI layer.

Link copied to clipboard
interface MviIntent

Defines the MviIntent contract for the SDAI core UI layer.

Link copied to clipboard
interface MviState

Defines the MviState contract for the SDAI core UI layer.

Link copied to clipboard

Defines the MviViewModel contract for the SDAI core UI layer.

Functions

Link copied to clipboard
fun <S : MviState, I : MviIntent, E : MviEffect> MviComponent(viewModel: MviViewModel<S, I, E>, processEffect: (effect: E) -> Unit = {}, content: @Composable (state: S) -> Unit)
fun <S : MviState, I : MviIntent, E : MviEffect> MviComponent(viewModel: MviViewModel<S, I, E>, processEffect: (effect: E) -> Unit = {}, content: @Composable (state: S, processIntent: (I) -> Unit) -> Unit)

Renders the MviComponent UI for the SDAI presentation layer.