Last Updated: September 29, 2021
·
1.563K
· emce

RoboSpice

RoboSpice is an android library to ease asynchronous web requests, with cache management.
Main features of RoboSpice:
* executes asynchronously (in a background AndroidService) network requests
* supports REST out of the box (using Spring Android).
* is strongly typed ! You make your requests using POJOs and you get POJOs as request results.
* enforce no constraints neither on POJOs used for requests nor on Activity classes you use in your projects
* caches results in Json with both Jackson and Gson, or Xml, or flat text files, or binary files, even using ORM Lite (still in beta)
* notifies your activities (or any other context) of the result of the network request if and only if they are still alive
* no memory leaks at all, like Android Loaders, unlike Android AsyncTasks
* notifies your activities on their UI Thread
* uses a simple but robust exception handling model
* supports aggregation of different web services
* supports multi-threading of request executions
* is open source ;)
* and tested

RoboSpice in 30 seconds

RoboSpice on GitHub