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

Elements of the diagram

The following diagram can be found at http://reactivex.io/documentation/observable.html. It contains the core elements that will be necessary to understand the marble diagrams, so let's dig into it:

The following line represents an initial Observable with items that will be emitted as time passes:

For example, the equivalent in code will be as follows:

Observable.just(new Star(), new Triangle(), new Pentagon(), new   Circle(), new Square(), new Diamond())

The items that are being emitted are represented by the elements ...

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