Android Data Binding Course on Pluralsight

I recently published a course on Pluralsight called “Android Fundamentals: Data Binding.”

Since Android Data Binding was introduced, there has been a lot of buzz and chatter.

I must admit that I have long been an avid user of Jake Wharton’s ButterKnife library. I wasn’t sure that I would be moving from the familiarity and ease of ButterKnife. ButterKnife allowed me to easily reference the different views in my layout and to set listeners for different view events. When I first started working with Data Binding (1.0-rc0), I saw some benefits. However, without event binding, I was still using ButterKnife.

However, once event binding was added in rc1, I gave the Data Binding library another try.

I went through a few different strategies for building screens with the library. Android Fundamentals: Data Binding is a distillation of what I learned. I show how to incorporate the library into your Android project. The demos show how the different ways you can bind to layouts. I show you the code that the library generates for you and how the library creates the bindings. Then, I show you how to create your own adapters. Finally, I show the benefits of view models and how to incorporate observables. I wrap up with some pitfalls and tips that I have learned while using the library.

If you watch the course, give me a shout on Twitter and let me know your experience.

Cheers!

comments powered by Disqus