Data Binding is not working after we change the package name...?Android Studio
Solution:
1. Build > Clean Project
2.Go to your Build.gradle (Module) and disable databinding:
android {
buildFeatures {
viewBinding false
}
}
3.File > Sync Project with Gradle Files
4.Build > Rebuild Project ,Now enable databinding again:
android {
buildFeatures {
viewBinding true
}
}
5.File > Sync Project with Gradle Files