Skip to content

Instantly share code, notes, and snippets.

@sergenes
Created August 1, 2021 21:14
Show Gist options
  • Save sergenes/dcf2be6e67ca7a6f5af443f6845a71df to your computer and use it in GitHub Desktop.
Save sergenes/dcf2be6e67ca7a6f5af443f6845a71df to your computer and use it in GitHub Desktop.
Code1 FSM Contract
interface ListScreenContract {
val editButtonTitle: String
val isAddButtonVisible: Boolean
val isEditNameMode: Boolean
val isTableVisible: Boolean
fun print() =
"${javaClass.simpleName} [$editButtonTitle|$isAddButtonVisible|$isEditNameMode|$isTableVisible]"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment