@User uploaded a file:
and commented: Please help... this is my second Android app and my first in Kotlin. All the posts on StackExchange says it's really easy to direct a button to a method in the activity. IntelliJ says I'm doing it wrong. Is there a trick to this? Thank you!