Created
May 9, 2019 11:35
-
-
Save tsuijten/e4eb15859cedfcc389f0d139755bf63d to your computer and use it in GitHub Desktop.
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
@Model | |
class CounterModel { | |
var counter: Int = 0 | |
var header = "Counter demo" | |
fun add() { counter++ } | |
fun subtract() { counter-- } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment