Created
April 19, 2021 21:13
-
-
Save fvilarino/0ee8b865a60472a77c1cd5895736084e to your computer and use it in GitHub Desktop.
Forecast State Classes
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
data class ForecastHeaderState( | |
override val id: Long, | |
val date: CharSequence, | |
val sunrise: CharSequence, | |
val sunset: CharSequence, | |
) : Diffable | |
data class ForecastCardState( | |
override val id: Long, | |
val header: CharSequence, | |
@DrawableRes val iconId: Int, | |
val minTemperature: CharSequence, | |
val maxTemperature: CharSequence, | |
val feelsLikeTemperature: CharSequence, | |
val windSpeed: CharSequence, | |
val humidity: CharSequence, | |
val visibility: CharSequence, | |
) : Diffable | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment