To use Store2Realm as a cache you can have a look to the example in the project. You just have to pass a second argument (true) to the onObserve method :
postService.getAll(filter, sortingMode)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread(), true) // add true here if you want to delay the error and receive the realm update first
...
To use Store2Realm as a cache you can have a look to the example in the project. You just have to pass a second argument (true) to the onObserve method :
Fix #7