Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Code2 FSM Sealed Base class
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