view binding android studio code example
Example: using buidfeatures to enable viewbinding
// Android Studio 4.0
android {
buildFeatures {
viewBinding = true
}
}
// Android Studio 4.0
android {
buildFeatures {
viewBinding = true
}
}