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.
Nesta página do site você pode assistir ao vídeo on-line Using View Binding in Android duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Tech Backpack 11 Março 2020, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 57 vezes e gostou 3 espectadores. Boa visualização!