How to use DataBinding from #android #jetpack in an existing project step by step.
Consider Subscribing 🤩
/ @danieltalkscode
Chapters:
0:00 Intro
0:16 What is DataBinding
0:37 Enabling DataBinding
0:55 Converting XML Layout to DataBinding Layout
1:41 Adding XML Variables
2:08 Bind ViewModel to XML Layout Variable
2:45 Calling ViewModel methods from layout file
3:54 Converting second XML Layout to DataBinding Layout
4:25 Setting viewLifecycleOwner for LiveData VM properties
5:18 Passing ViewModel data to Layout string resources
7:12 Conditional DataBinding Expressions
11:35 Adding onClick Event Listener with DataBinding
13:05 Referencing Other Views in Layout
15:28 A Word on Best Practices
Github Repository:
https://github.com/danpgomez/checkout...
"An Argument Agains DataBinding" - Tim Mutton
/ an-argument-against-data-binding
Google I/O 2015 DataBinding Presentation:
• Google I/O 2015 - What's new in Android
Official Google Documentation on DataBinding:
https://developer.android.com/topic/l...
-----
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.
On this page of the site you can watch the video online DataBinding Tutorial for Beginners with a duration of hours minute second in good quality, which was uploaded by the user Daniel Talks Code 10 March 2023, share the link with friends and acquaintances, this video has already been watched 197 times on youtube and it was liked by 9 viewers. Enjoy your viewing!