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 present in that module. An instance of a binding class contains direct references to all views that have an ID in the corresponding layout.
In most cases, view binding replaces findViewById.
Follow Mullatoez channel -:
Instagram: https://www.instagram.com/mullatoez/?...
Twitter: / mullatoez
GET IN TOUCH:
If you’d like to talk, I’d love to hear from you. Tweeting @mullatoez directly will get a response, but if your question is very long, feel free to email me at [email protected]. I try my best to respond to everyone ❤️.