View Binding in Android | Replace findViewById with view binding | Android Studio Tutorial

Publié le: 14 août 2021
sur la chaîne: smartphone codes
43
like

ViewBinding - Forget about findViewById | Android Studio Tutorial
The new view binding library allows you to write concise and safe code with Kotlin and Java. Stay tuned to find out how to use it in your app!

We use view binding in our projects because writing findViewById() 100s of time makes our build slow and it annoys writing again and again so for this using viewBinding is a practice , it -

✅ Makes or compilation fast
✅ Reduce our code
✅ Easy to use
✅ Null safe i.e. low chances to crash

We , will discuss
Data Binding , View model very soon in next posta !

Thanks 4 your likes and saves 🙏🏼

Support by giving a subscribe ✅

Learn more here :

What is an Apk easy explanation :    • What does an apk / app contains | What is ...  

How android apps are made :    • How Android Apps are made | Android app ka...  

Class & Objects easy explain :    • What is Class and Object in OOPS Simple Ex...  
-----------------------
Check out more videos on our Channel and Instagram.

Instagram :   / smartphone_.  .
Facebook :   / smartphonecodes  
Source code & My Apps : https://www.smartphonecodes.weebly.com

#Jetpack #UI #Foundation


Sur cette page du site, vous pouvez voir la vidéo en ligne View Binding in Android | Replace findViewById with view binding | Android Studio Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur smartphone codes 14 août 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 43 fois et il a aimé like téléspectateurs. Bon visionnage!