Last active
April 6, 2024 02:31
-
-
Save agustarc/6c196f7b60dc809ed220fd1fa6937f5a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal sealed interface ScreenUiState { | |
data object Loading : ScreenUiState | |
data object Success : ScreenUiState | |
data object Empty : ScreenUiState | |
data class Error(val error: Throwable) : ScreenUiState | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment