Beginning RxKotlin
In this course, you will be introduced to reactive programming in Kotlin and Android with RxKotlin. You'll learn about observables, subscribing, and more, and how to use RxKotlin in your Android app projects. By Joe Howard.
Part 1: Getting Started with RxKotlin
Let's review what you will be learning in this course, including a brief discussion on the origins of RxKotlin.
Learn the goals of RxKotlin, compare the pros and cons of learning and using RxKotlin, and become familiar with the foundation of RxKotlin: the observable.
See how to use Gradle to add RxKotlin to your Kotlin projects in IntelliJ IDEA, and how to add RxKotlin and RxAndroid using Gradle in Android Studio.
Go over several methods you can use to create observables from individual values and collections of values.
In this video you'll learn how to subscribe to an observable, and how to manage memory by using disposables.
Continue learning how to subscribe to observables and see how to make an observable emit an error event to subscribers.
Get introduced to the do operator for performing side effects, and then use the do operator in an example from the previous video.
In this video, find out how Subjects can receive new elements and emit new events to subscribers at runtime.
Continue learning about using Subjects and see the various types of Subjects that are available in RxKotlin.
In this challenge video you'll put your new skills to work by creating a reactive algorithm to deal hands of blackjack.
Get an overview of your first Android project, Combinestagram, and then apply what you've learned so far to Rx-ify it.
Use Subjects to help add some polish to the Combinestagram user experience, including letting users add more than one photo.
Continue incorporating use of RxKotlin in Combinestagram, including how to create your own custom observable to save images to disk.
Review what you learned in this part, and find out how you'll apply that knowledge throughout the rest of the course.
Part 2: Filtering Observables
Get an overview of why you'd use filtering operators, and an example of how you might use chain filtering and other kinds of operators together to perform complex operations.
See how to use filtering operators to apply conditional constraints to next events and only pass through the elements you want to subscribers.
Dive deeper into filtering operators including those that let you skip events while a condition is true or alternatively take events until a condition is true.
In this video challenge you'll use filtering operators to create a utility that looks up phone numbers in a sample data set.
Improve the Combinstagram app with filtering operators, and learn how to enable multiple subscribers to consume the elements from a single observable.
Find out how to manage threads in RxKotlin and get an introduction to using timing operators to filter consecutive input.
Use sharing and LiveData to optimize Combinestagram and show a thumbnail preview of the image collage.
Wrap up on what you learned in this section and see how you'll continue to build up your repertoire of RxKotlin in the next section.
Part 3: Transforming Observables
Kickoff your introduction to learning about one of the most important categories of operators in RxKotlin.
Review concepts and go through several examples of putting the most widely-used transforming operators in RxKotlin to work.
Improve upon the phone number lookup utility from earlier including the use of transforming operators.
Use the transforming map operator to finish up Combinestagram by letting your users remove images from the collage.
Apply what you've learned about transforming operators to implement the nessessary functionality of your second Android app, GitFeed.
Continue working on the GitFeed app from the previous video by implementing a way to retrieve saved data.
Modify GitFeed to make it more useful and interesting, by finding the top trending Kotlin repos instead and displaying their combined activity.
Review what you learned in this section and see what's in store for you next as you continue to level up your Rx game.
Part 4: Combining Observables
Get introduced to what you will be learning about in this part: joining observable sequences together.
In this video you'll learn how to use a wide variety of operators to prepend, join, and merge observables.
In this video, you'll continue working with combining operators to merge, choose between, and accumulate observables.
Get additional hands-on experience working with two commonly used combining operators to improve upon an example from the previous video.
Apply everything you've learned in this course so far to implement the functionality for an app that resembles how you would use RxKotlin in your own apps.
Continue implementing the functionality for OurPlanet, beginning with how to fetch data from the EONET public API.
In this video you'll learn how to improve OurPlanet to retrieve data more efficiently by fetching in parallel.
Finish implementing OurPlanet by incrementally updating the UI with data coming back from parallel fetching.
Add some polish to OurPlanet by appropriately showing and hiding a progress bar for network activity.
Let's wrap up this course by reviewing what you learned, and get some handy resources to continue the learning on your path to Jedi mastery of RxKotlin.