Skip to content

Instantly share code, notes, and snippets.

@sliskiCode
Last active January 2, 2018 11:18
Show Gist options
  • Save sliskiCode/9a941861d2e193d41943caa036313081 to your computer and use it in GitHub Desktop.
Save sliskiCode/9a941861d2e193d41943caa036313081 to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #25
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