ViewStateContract

interface ViewStateContract<T>

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var payload: T?
Link copied to clipboard
abstract val viewState: StateFlow<ViewStatefulEvent>

Functions

Link copied to clipboard
abstract suspend fun emitEvent(apiResult: ApiResult<T>)
Link copied to clipboard
abstract fun emitState(apiResult: ApiResult<T>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun refreshPayload()
Link copied to clipboard
Link copied to clipboard