Beginning RxKotlin

Sep 11 2018 · Intermediate · Video Course · 3 hrs, 35 mins

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.

Version

  • Kotlin 1.2, Android 4.4+, Studio 3.2

Getting Started with RxKotlin

Introduction

6:13 Free

Let's review what you will be learning in this course, including a brief discussion on the origins of RxKotlin.

1

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.

2

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.

3

Go over several methods you can use to create observables from individual values and collections of values.

4

In this video you'll learn how to subscribe to an observable, and how to manage memory by using disposables.

5

Continue learning how to subscribe to observables and see how to make an observable emit an error event to subscribers.

6

Get introduced to the do operator for performing side effects, and then use the do operator in an example from the previous video.

7

In this video, find out how Subjects can receive new elements and emit new events to subscribers at runtime.

8

Continue learning about using Subjects and see the various types of Subjects that are available in RxKotlin.

9

In this challenge video you'll put your new skills to work by creating a reactive algorithm to deal hands of blackjack.

10

Get an overview of your first Android project, Combinestagram, and then apply what you've learned so far to Rx-ify it.

11

Use Subjects to help add some polish to the Combinestagram user experience, including letting users add more than one photo.

12

Continue incorporating use of RxKotlin in Combinestagram, including how to create your own custom observable to save images to disk.

13

Conclusion

0:40

Review what you learned in this part, and find out how you'll apply that knowledge throughout the rest of the course.

14

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.

15

See how to use filtering operators to apply conditional constraints to next events and only pass through the elements you want to subscribers.

16

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.

17

In this video challenge you'll use filtering operators to create a utility that looks up phone numbers in a sample data set.

18

Improve the Combinstagram app with filtering operators, and learn how to enable multiple subscribers to consume the elements from a single observable.

19

Find out how to manage threads in RxKotlin and get an introduction to using timing operators to filter consecutive input.

20

Use sharing and LiveData to optimize Combinestagram and show a thumbnail preview of the image collage.

21

Conclusion

0:42

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.

22

Transforming Observables

Kickoff your introduction to learning about one of the most important categories of operators in RxKotlin.

23

Review concepts and go through several examples of putting the most widely-used transforming operators in RxKotlin to work.

24

Improve upon the phone number lookup utility from earlier including the use of transforming operators.

25

Use the transforming map operator to finish up Combinestagram by letting your users remove images from the collage.

26

Apply what you've learned about transforming operators to implement the nessessary functionality of your second Android app, GitFeed.

27

Continue working on the GitFeed app from the previous video by implementing a way to retrieve saved data.

28

Modify GitFeed to make it more useful and interesting, by finding the top trending Kotlin repos instead and displaying their combined activity.

29

Conclusion

0:43

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.

30

Combining Observables

Get introduced to what you will be learning about in this part: joining observable sequences together.

31

In this video you'll learn how to use a wide variety of operators to prepend, join, and merge observables.

32

In this video, you'll continue working with combining operators to merge, choose between, and accumulate observables.

33

Get additional hands-on experience working with two commonly used combining operators to improve upon an example from the previous video.

34

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.

35

Continue implementing the functionality for OurPlanet, beginning with how to fetch data from the EONET public API.

36

In this video you'll learn how to improve OurPlanet to retrieve data more efficiently by fetching in parallel.

37

Finish implementing OurPlanet by incrementally updating the UI with data coming back from parallel fetching.

38

Add some polish to OurPlanet by appropriately showing and hiding a progress bar for network activity.

39

Conclusion

1:50

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.

40

Contributors

Comments