Last active
May 14, 2024 19:33
-
-
Save MkhytarMkhoian/b5f3a6dd6773e7aad1d4ef39baba88a9 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
@Parcelize | |
data class FareListState( | |
val status: ScreenContentStatus = ScreenContentStatus.Idle, | |
val showRequestLoading: Boolean = false, | |
val fares: List<FareModel> = emptyList(), | |
) : Parcelable | |
sealed class FareListEffect { | |
data class GoToConfirmation(val ryderId: String, val fare: FareModel) : FareListEffect() | |
data object ShowGeneralNetworkError : FareListEffect() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment