|September 5, 2019
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, set the
dataBinding build option to
true in your
build.gradle file, as shown below:
Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.
See the Issue Tracker documentation for more information.