I'd like to make my Android app responsive, even when the network connection is not.
For certain calls, the data doesn't change that often, so I'd like to be able to retrieve the most recent XML response for a given call.
Ideally, I'd like to do this similar to how web caching works, hash the call/params, set rules as to expiry, etc.
Can't you just save the received xml locally and then read that file when there's no internet connection?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With