MetaPhrase

An open source translation editor for native mobile app localization.

View project on GitHub

//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.translate.panel.matches.presentation/TranslationMemoryComponent/UiState

UiState

[jvm]
data class UiState(val isLoading: Boolean = false, val units: List<TranslationUnit> = emptyList())

Translation memory UI state.

Constructors

   
UiState [jvm]
constructor(isLoading: Boolean = false, units: List<TranslationUnit> = emptyList())
Create UiState

Properties

Name Summary
isLoading [jvm]
val isLoading: Boolean = false
flag indicating whether there is a background operation in progress
units [jvm]
val units: List<TranslationUnit>
translation units to display