migrate into View Binding android code example
Example: using buidfeatures to enable viewbinding
// Android Studio 4.0
android {
buildFeatures {
viewBinding = true
}
}
// Android Studio 4.0
android {
buildFeatures {
viewBinding = true
}
}