Last active
March 30, 2019 08:12
-
-
Save ch8n/45ce35dd8a9b04723bf6a2f3e1f6660c to your computer and use it in GitHub Desktop.
Medium - Kotlin do or die - TODO example
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
onClick(view:view) = when(view.id){ | |
R.id.button_action1->actionOneClicked() | |
R.id.button_action2->actionTwoClicked() | |
R.id.button_action3->TODO("action 3 is work in progress!") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment