//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.projectsdialog.statistics.presentation/StatisticsComponent
StatisticsComponent
[jvm]
interface StatisticsComponent : MviModel<StatisticsComponent.Intent, StatisticsComponent.UiState, StatisticsComponent.Effect>
Statistics component.
Types
Name | Summary |
---|---|
Effect | [jvm] interface Effect Effects. |
Intent | [jvm] interface Intent View intents. |
UiState | [jvm] data class UiState(val items: List<StatisticsItem> = emptyList()) UI state. |
Properties
Name | Summary |
---|---|
effects | [jvm] abstract val effects: SharedFlow<StatisticsComponent.Effect> |
projectId | [jvm] abstract var projectId: Int Project ID. |
uiState | [jvm] abstract val uiState: StateFlow<StatisticsComponent.UiState> |
Functions
Name | Summary |
---|---|
reduce | [jvm] abstract fun reduce(intent: StatisticsComponent.Intent) |