Setting Text
|
Calling Kotlin onClick function first way:
The 2nd Kotlin way respond to a clickIn Design View select each Button and use the onClick field to add your newFunctionName OR In the XML go to the code for each Button and add
Then In the kt file but OUTSIDE of your constructor:
|
Cheatography
https://cheatography.com
Android Specific Kotlin Cheat Sheet (DRAFT) by ScottHOC
You already know rudimentary Kotlin. Now what?
This is a draft cheat sheet. It is a work in progress and is not finished yet.