Last active
January 2, 2018 11:18
-
-
Save sliskiCode/9a941861d2e193d41943caa036313081 to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #25
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
verticalLayout { | |
val name = editText() | |
button("Say Hello") { | |
onClick { | |
toast("Hello, ${name.text}!") | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment