View Binding in Android
Use view binding to replace findViewById()
View binding is a feature that allows you to more easily write code that interacts with views. Once view binding is enabled in a module, it generates a binding class for each XML layout file…