Android Data Binding Library - Data binding Layouts & Data binding Objects

preview_player
Показать описание
Data Binding library is a support library that help us to bind UI elements to data sources from the layout itself. Doing so will help us to avoid repeated calls to findViewById method.

Data binding library improve application performance by avoiding memory leaks, also it help us to avoid many null pointer exceptions.

In this video we learn about
1. How to enable data binding library in your android application.
2. How to create a data binding layout.
3. How to use Data Binding Expressions and
4. How to use the Data Binding Objects.

Рекомендации по теме
Комментарии
Автор

Hi, I realize this video is a few years old but thank you so much for uploading it! It helped me out a lot.

justinhughes
Автор

Great... Pls also provide how this data binding is used in Recycler View.. bcoz if we use this technique then there is no need of viewHolder class in adapter of recycler view..

hdkloh
Автор

With databinding library we don't need getter and setter method? thaks

b.k
Автор

Hello.
Thanks for this video, but I have a problem with adding dataBinding declaration in my build.gradle file. I have an error, although the "Android Support Repository" has been installed. Do you have any ideas?

Evgen