Level up with Data Binding (Android Dev Summit '18)

preview_player
Показать описание
Data Binding has come a long way, and is now an integrated part of the Architecture Components within Jetpack, thanks to built-in observation of LiveData. Level up with Data Binding and simplify your Android coding.

Presented by: Dan Galpin

#AndroidDevSummit event: Android Dev Summit 2018; re_ty: Publish; product: Android - Jetpack; fullname: Dan Galpin;
Рекомендации по теме
Комментарии
Автор

Thanks for the overview. Good one.
Data Binding is cool. But tools in Android Studio could make you feel pain. If it breaks somewhere and you have 100 files with data binding. There is no way to find where. You just have 100 errors. Also when a method that is called from a xml file gets renamed in java code it's not renamed in the xml file.
I hope tools will get improved over time.

СкейтСкетчер
Автор

no point in explaining so fast nobody will understand who is new to data binding and hard to follow for others as well.

khalidhamid
Автор

Is there any way to get two-way data binding without exposing MutableLiveData ? I usually expose a LiveData<> getter and a separate setter that just calls setValue on the private Mutable LiveData and I really really do not want to expose the MutableLiveData, just in case I want to mess with the setter at a later time.

suauhwang
Автор

What's the point of this fast presentation? If you're new to it, congratulation, you just waste 5:22min. If you already known the topic, congratulation again, you just waste 5:22min. If you in between, good you still waste > 5:22min as you probably rewind, slow down and try to see if you miss anything (you did not, nothing new announcement here). Having said that, it is still a nice summary to recap, but nothing more.

BrianChu
Автор

Two-way databinding not explained good...

GGK
Автор

"If you can't explain it to a six-year-old, you don't understand it yourself." Albert Einstein

toystoryscarymovie-forkids
Автор

Hi everyone there 's difference bethwen 1 and 2 statement Thanks


// 1. ActivityMainBinding binding = DataBindingUtil.setContentView(this, R.layout.activity_main);
User user = new User("Test", "User");
binding.setUser(user);


// 2. ActivityMainBinding binding =

b.k
Автор

is it recommended to use data binding in 2022?

KotlinBek
Автор

was something improved in the debugging area? i had soo many problems to find mistakes with databinding.

peterroth
Автор

data binding is good on bind data to xml
but not make a sense like KTX "kotlin extension"

ismailmohamed
Автор

Hi every one, in 2:50min, he post a URL with a lot of Adapters, Did anyone download the adapters? Can you share with me?

RodrigoRamos
Автор

You spoiled the topic. Such important thing can't be discussed in 5 minutes, even speaking fast. Its wasting of time

AndreyDerkach
Автор

Hi Sir. I have an issues about databinding. Even i enable true in gdle but still show error. Even i try to import such that androidx. databinding. DataBindingUtil nothing working. Please make tutorial how to fix it that error thank You

frontendprodesigner
Автор

hello my name is Saul A. Garcia I just want to let you know that I'm part of it and I'm proud of you part of the team

saulgarciaambriz
Автор

Why does he speak so fast? No value. Just waste of 5min.

milandufek
Автор

as you know I'm part of it I just taking my time to

saulgarciaambriz
welcome to shbcf.ru