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

Updated flow

If we recall the preceding figure with the flow where we couldn't get a User and an Access Token object at the same time, now it will look like this:

In this flow, using tuples or custom classes, we are returning the User and Access Token objects at the same time after the Fetch Access Token step. All the subsequent operations consume this composite object and each operation can pick the data that it needs in particular from the carrier object.

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