Why do I get “unresolved reference” error for my view’s name/ID when I type it in Kotlin?
The ability to refer to a view directly by it’s ID/name in Kotlin is called “synthetic properties” and it is a feature of a project plugin called Kotlin Android Extensions. Google and JetBrains decided to deprecate Kotlin Android Extensions, meaning they no longer support it, and discourage you from using it. Ever since it was … Read more