Session

Bye-bye to findViewById(). Welcome, Data Binding.

During the pre-databinding era, anytime you want to reference your view from an activity(fragments, adapters...) you always have to call View.findViewById(). Imagine when you have 20 views you need to reference, that is 20 lines of findViewById and in my opinion(which I believe you will agree with me) is just unnecessary boilerplate.
With the introduction of databinding, you don't need to write findViewById again. Yes! You read it right.

Databinding is the official view binding library recommended by Google. It abstracts away the findViewById boilerplate.

In this session, I will be covering:

1. Introduction to data binding. How it works under the hood.
2. Using databinding in your project either old or new.
3. Databinding adapters.
4. Advanced usage of databinding (Binding list to viewgroups, databinding with recycler view).
5. Tips and tricks to avoid common pitfalls.

Ayokunle Paul

Android Developer at SoftcomNG

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top