Created
October 18, 2021 15:16
-
-
Save volodymyr-sch/0de8e7139f1f6093598ee5bc11272215 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 class MyState { | |
| object ShowProgressBar: MyState() | |
| data class ShowDataWithError(val error: Throwable?, val data: List<Item>): MyState() | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment