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

Creating the StockUpdate object

Finally, since all the data is available for use, we can create the StockUpdate object by calling the constructor with appropriate values:

final StockUpdate stockUpdate = new StockUpdate(        stockSymbol,        price,        date);

We shouldn't forget to set the ID of the StockUpdate that was given by the database:

stockUpdate.setId(id);

Now that we have the GetResolver ready, we should plug it in to StorIO.

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