This is possible because of Kotlin synthetic imports. Just type the
id, that's it.
Just make sure the TextView has an ID that matches the Kotlin code. For clarity, here is the Kotlin import:
This is another way Kotlin allows developers to do more when less code. I've used Kotlin for two years and never regret having to type less.