android - How to queue API calls when you're offline while using Retrofit -


i'm using retrofit in combination rx-java , have following question:

is there way queue api calls server when device offline can fired when device online again.

you need add queue project in first place , pipe retrofit jobs thru queue. either create own queue or check if libraries android-priority-jobqueue fit requirements (that 1 handles persistency of queued jobs, app kill/reboot less painful)


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -