//MetaPhrase/com.github.diegoberaldin.metaphrase.feature.projects.dialog.newproject.presentation/CreateProjectComponent/UiState
UiState
[jvm]
data class UiState(val name: String = "", val nameError: String = "", val isLoading: Boolean = false, val languages: List<LanguageModel> = emptyList(), val languagesError: String = "", val availableLanguages: List<LanguageModel> = emptyList())
Create project UI state.
Constructors
UiState | [jvm] constructor(name: String = "", nameError: String = "", isLoading: Boolean = false, languages: List<LanguageModel> = emptyList(), languagesError: String = "", availableLanguages: List<LanguageModel> = emptyList()) Create UiState |
Properties
Name | Summary |
---|---|
availableLanguages | [jvm] val availableLanguages: List<LanguageModel> available languages that can be added |
isLoading | [jvm] val isLoading: Boolean = false indicates whether there is a background operation in progress |
languages | [jvm] val languages: List<LanguageModel> project languages |
languagesError | [jvm] val languagesError: String error message about the languages |
name | [jvm] val name: String project name |
nameError | [jvm] val nameError: String error message about the name |