Created
July 27, 2023 12:46
-
-
Save zurche/1fe5c1219dece76c2084be040f356447 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
data class MyCryptoCapUIData( | |
val value: Float, | |
val currency: String, | |
val monthlyPreview: List<Pair<String, Float>> //<---- NEW | |
) | |
private val mockData = | |
MyCryptoCapUIData( | |
38546.82f, | |
"USD", | |
listOf( //<---- NEW | |
Pair("Jan", 15000f), | |
Pair("Feb", 20000f), | |
Pair("Mar", 38000f), | |
Pair("Apr", 8000f), | |
Pair("May", 10000f) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment