data binding in android launch date code example
Example 1: enable databinding
buildFeatures {
dataBinding true
}
Example 2: data binding = true
app level build.gradle file:
android {
...
buildFeatures {
dataBinding true
}
}