Created
June 12, 2019 11:30
-
-
Save tmaxxdd/8eadeda9f0066baf1110908c623bc273 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
// Same as findViewById() but simpler to use | |
val name = find<TextView>(R.id.name) | |
name.hint = "Enter your name" | |
name.onClick { /*do something*/ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment