//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.translate.dialog.newsegment.presentation/NewSegmentComponent/UiState
UiState
[jvm]
data class UiState(val key: String = "", val keyError: String = "", val text: String = "", val textError: String = "", val isLoading: Boolean = false)
New segment dialog UI state.
Constructors
UiState | [jvm] constructor(key: String = "", keyError: String = "", text: String = "", textError: String = "", isLoading: Boolean = false) Create UiState |
Properties
Name | Summary |
---|---|
isLoading | [jvm] val isLoading: Boolean = false boolean indicating whether a background operation is in progress |
key | [jvm] val key: String message key |
keyError | [jvm] val keyError: String error for the key field |
text | [jvm] val text: String message text |
textError | [jvm] val textError: String error for the text field |