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