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

Updating flow

The only thing that's left to do now is to plug in the settings and its Observables into the main flow. Let's just jump right to that, and we will figure out the details as we go.

The existing code block of interest now is this:

 Observable.merge(     createFinancialStockUpdateObservable(yahooService, query, env),     createTweetStockUpdateObservable(configuration,                               trackingKeywords, filterQuery) )

We will update it by prepending the Observables in front of the following:

createFinancialStockUpdateObservable(yahooService, query, env)createTweetStockUpdateObservable(configuration, trackingKeywords,     filterQuery)

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