In this video I’m going to show you how to get started with Data Binding on Android.
We’ll go over topics like:
1) Data binding library requirements
2) Binding an Activity layout
3) Passing variables to a layout
4) Ternary statements
5) Custom Binding Adapters
➤ Try Pluralsight for 10 days free:
↻
➤ Android Data Binding: Getting Started (Course)
↻
➤ Merchandise:
↻
➤ Starting point:
↻
➤Source Code:
↻
Nguồn:https://wijstaanvooronzegrondrechten.org/
very good..
I thought i was the only one loving this tutorial. You've really made data binding so simple to understand. Thanks very much
getting this error on enabling dataBinding to true "AndroidX Error: Both old and new data binding packages are available in dependencies. Make sure you've setup jettifier for any data binding dependencies"
this is gold, thanks!
I don't know why my cart doesn't update, Mitch?
Can we use Mutable Live Data in custom Binding Adapter or layout expressions
Have not even started and am excited about the part two already
Mitch. Thanks a lot for awesome video. Requesting you to show the. Two way data binding.
Nice video, but this Data Binding feature is so confusing. Well, I guess I have to get used to it.
what about two-way data binding
This is what I was looking for about 6 months. This is a great video man. Many many many thanks <3
Hello, Is there any ways we can use kotlin type such as kotlin.Int, kotlin.String in the databinding layout?
which emulator is that and how to get it … is it default packed with android studio..
Hi Mitch, I want to show a layout of "No Internet Connection" with a "Retry" button in MVVM using Data Binding. How to accomplish that. Please help me @CodingWithMitch
Probably the best video intro of Data Binding on the internet right now. Google take note.
Would love to see a follow up to integrate ViewModels and LiveData.
Thank you so much! I was trying to understand data binding and I couldn't. This video helped me so much.
For anyone looking at this now, another way to surround an int with brackets and putting it inside textview would be to use string resource formatter
eg: (%1$d) and using that in the layout expression
hi
thankes for this video , this is perfect
Clear explanation love it…..
Hello Mitch, thank you for this video. I have a question when should we use data binding? Should we always use data binding?
In my opinion, when we code in xml layout file it's seem quite hard to maintain so this make me so confused…
Awesome
one of the best video, nicely explained thank you
great video sir but could u explain how to update any perticular item color in recyclerview after perform click
I dont agree about speed increase of developing… In huge project apk compiles for more than 30 mins!