Using View Binding in Android

Publicado el: 11 marzo 2020
en el canal de: Tech Backpack
57
3

In this video, I show you how to use view binding and why it's preferred over findViewById. In short View Binding replaces findViewById, eliminates the NullPointer and ClassCast exceptions because it generates a binding class for each layout file and holds a direct reference to each of the views that have an id.

Source Code: https://github.com/backpackwithtech/A...

If you have any questions or suggestion you can leave them down in the comment section.


En esta página del sitio puede ver el video en línea Using View Binding in Android de Duración hora minuto segunda en buena calidad , que subió el usuario Tech Backpack 11 marzo 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 57 veces y le gustó 3 a los espectadores. Disfruta viendo!