Making use of the Data Binding Library is a great way to increase code readability and decrease the amount of code you need to write. You will learn to use custom binding adapters, event handling, and observables to make code more clear and concise.
At the core of every great Android application is a clean and legible code base. In this course, Android Data Binding: Getting Started, you will master the core concepts of the data binding library. First, you will take a close look at how to perform data binding by inflating views, passing variables to views, and using imports. Then, you will see how to use ternary operators, build custom binding adapters, and handle gesture events. Finally, you will build custom data models that extend BaseObservable, so updates to variables are automatic. When you’re finished with this course, you will have a foundational knowledge of Data Binding that will help you as you move forward to develop mobile applications.
Course Overview Hi. My name is Mitch Tabian, and welcome to my course, Android Data Binding: Getting Started. I'm a self-employed Android developer, and I'm here to teach you about data binding with Android. Making use of the Data Binding Library is a great way to increase code readability and decrease the amount of code you need to write. As you'll see in the course, we use data binding to pass variables directly to layout files. You'll never have to write findViewById, and updates to those variables will happen automatically. Some of the major topics we'll cover include covering the basics of data binding. This will include how to install the Library, how to inflate a data-bound view, how to pass variables to views. Custom binding adapters are like custom methods for specific variables or widgets. We're going to stay very practical and build custom binding adapters for things you'll use in every application. We'll build them for things like initializing RecyclerView, setting images to ImageViews using the Glide library, and setting widget visibilities event handling. In the course, we'll implement gestures like onClickListener, onTouchListener, and a custom interface. One of the major goals of the Data Binding Library is to decrease the amount of code you write. We'll build custom data models that extend BaseObservable so updates to variables are automatic. By the end of the course, you'll have an excellent understanding of the most important concepts when it comes to data binding. Your code will be much more clear, concise, and have an overall elegant feel to it. The course is meant for beginners when it comes to data binding, but targets an intermediate developer overall. You should be very familiar with RecyclerViews, ListViews, onClick events, fragments, and setting images to ImageViews. I hope you'll join me on this journey to learn about data binding with the Android Data Binding course at Pluralsight.