Last active
May 12, 2025 10:58
-
-
Save ifucolo/51d829b88a82418bc06e36540dea184e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sealed interface PrayerState { | |
data object Loading : PrayerState | |
data object Empty : PrayerState | |
data class Success(val prayers: List<ViewType>) : PrayerState | |
data class Error(val throwable: Throwable, val retryAction: () -> Unit) : PrayerState | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment