O'Reilly logo

Reactive Android Programming by Tadas Subonis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we had a chance to cover lots of basic and advanced material. Even though we used .flatMap() earlier, only now did we get the chance to delve in depth to clarify what it exactly does.

Additionally, we covered things such as .switchMap(), which is closely related to .flatMap(), and we learned how to use tuples and custom classes to transport relevant data from one part of an Observable to another.

Finally, we implemented filtering for financial stock updates with the .filter(), .groupBy(), and .distinct() calls. The Twitter stream was optimized as well to skip tweets that do not contain the keywords that we are monitoring.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required