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

Опубликовано: 14 Август 2021
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн View Binding in Android | Replace findViewById with view binding | Android Studio Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь smartphone codes 14 Август 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 43 раз и оно понравилось like зрителям. Приятного просмотра!