From the course: Android App Development: Design Patterns for Mobile Architecture

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Add binding with RxJava

Add binding with RxJava - Android Tutorial

From the course: Android App Development: Design Patterns for Mobile Architecture

Start my 1-month free trial

Add binding with RxJava

- [Instructor] The last architectural piece that we're going to be applying is the idea of binding. And in this case, we're going to be using a library called RX Java. It's all part of the Reactive X families. These are just the specific extensions for Java. But this is a great framework to learn because as you learn the patterns for our X Java, they apply to the other libraries within this family. So, Swift, Kotlin, Java Script, you name it. This family of extensions covers all these languages. And once you learn it for one pattern, you'll be able to apply it for any of the other patterns. So, in order to get that, first we need to go to the activity spy list. And we'll make some changes in here so that we can have some user interaction to alter the data set behind this actual list. The first thing to do, is we're going to come into here and make this instead of a linear layout, I'll just say it's a constraint layout. And remove this block of code. And come back to the design view…

Contents