The second Android 11 Developer Preview is now available, test it out and share your feedback.

Databinding

Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
September 5, 2019 3.5.0 - - 3.6.0-alpha10

The databinding library is bundled with the Android Gradle plugin. You do not need to declare a dependency on the library, but you must enable it.

To enable data binding, add the dataBinding element to your module's build.gradle file, as shown below:

android {
    ...
    dataBinding {
        enabled = true
    }
}

For more information about data binding, see the guide to the data binding library, and the Android Studio release notes