Created
July 8, 2019 13:22
-
-
Save myanmarlinks/6bd93253a62a62bb68a482c687a8da71 to your computer and use it in GitHub Desktop.
Bridge to Kotlin Part 8
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 SomeData(val id: Int, val name: String) | |
enum class ScreenStateField(val someData: SomeData) { | |
ERROR(SomeData(1, "some data 1")), | |
LOADING(SomeData(2, "some data 2")), | |
DATA(SomeData(3, "some data 3")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment