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

Using RxPreferences

First of all, we will start by plugging in a library to make the access to SharedPreferences easier, that's called RxPreferences (and can be found at https://github.com/f2prateek/rx-preferences). One of the main things that the library does is that it starts listening to the changes inside the SharedPreferences class, and it can pass them through the Observable interface.

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