https://developer.android.com/topic/libraries/data-binding/index.html
I wonder how to download the library from the Support repository in the Android SDK manager. It seems that I only have to set dataBinding to true in build.gradle file in the app module. Using Android Studio 2.3
You can add data binding in your project by adding the below code in your app level build.gradle
file.
android {
....
dataBinding {
enabled = true;
}
}
You don't have to do anything more for data binding. You can also check this blog.
https://medium.com/@karmakar.avijit/android-data-binding-library-i-782d773de42c