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

apache - setting document root in antoher partition on ubuntu -

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

r - Quantstrat logical error while running applySignals - missing value where TRUE/FALSE needed -