how to replace findviewbyid in 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
}
}