Last active
August 3, 2021 19:52
-
-
Save sergenes/40b90b4cf7cf3b3dd7a919c469f8b732 to your computer and use it in GitHub Desktop.
Code2 FSM Sealed Base class
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 ListScreenState( | |
val back: ListScreenState? = Idle | |
){ | |
open val editButtonTitle = "Edit" | |
open val isAddButtonVisible = true | |
open val isEditNameMode = false | |
open val isTableVisible= true | |
object Idle : ListScreenState() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment