//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.translate.panel.matches.presentation/TranslationMemoryComponent
TranslationMemoryComponent
[jvm]
interface TranslationMemoryComponent : MviModel<TranslationMemoryComponent.Intent, TranslationMemoryComponent.UiState, TranslationMemoryComponent.Effect>
Translation memory component.
Types
Name | Summary |
---|---|
Effect | [jvm] interface Effect Effects. |
Intent | [jvm] interface Intent View intents. |
UiState | [jvm] data class UiState(val isLoading: Boolean = false, val units: List<TranslationUnit> = emptyList()) Translation memory UI state. |
Properties
Name | Summary |
---|---|
effects | [jvm] abstract val effects: SharedFlow<TranslationMemoryComponent.Effect> |
uiState | [jvm] abstract val uiState: StateFlow<TranslationMemoryComponent.UiState> |
Functions
Name | Summary |
---|---|
reduce | [jvm] abstract fun reduce(intent: TranslationMemoryComponent.Intent) |