Android Data Binding - Part 2

In part 1 of this blog series, I explained how to use Android's data binding library, how to use the binding class to access the view references, and how to use binding objects. I provided an example that showed a simple way to bind the data object to a text view. In part 2 of this series, I will explain how this binding works and how to create a custom binding.
READ MORE

Android Data Binding - Part 1

Android applications are, almost universally, data driven. All screens have a data object that can be fetched from the internet, database, or even created by the application user. Typically on Android apps, developers need to inflate the view, locate each view element using findById, and then set the appropriate value.

READ MORE