Android project to reproduce issue 304 in NYTimes Store.
When in airplane mode the Store should return any cached data, and then call onError due to a HostNotFoundException
OnError is called immediately and no cached data is returned.
Adding a doOnSuccess
call to the Store.get()
gives us the expected behaviour. i.e. cached data and then the onError
call