How to Use Data Binding Library with Kotlin – A Step By Step Guide
If you want to use data binding and Kotlin, here are a few things to keep in mind:
Data binding is a support library, so it can be used with all Android platform versions all the way back to Android 2.1 (API level 7+). To use data binding, you need Android Plugin for Gradle 1.5.0-alpha1 or higher. You can see here how to update the Android Plugin for Gradle.