mardi 10 mars 2015

Is there a way to feed a cached response to Retrofit?

For various reasons (one of which being that I have no control on the REST server) I cannot use the standard HTTP cache with OkHTTP.


The idea would be to use Retrofit to work with the services and store the responses in a local cache (SQLite). The problem then is how to feed a cached response to Retrofit. Is there a way to accomplish this?


Aucun commentaire:

Enregistrer un commentaire