Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules.
Main features of RoboSpice:
- supports Android starting from SDK version 8 (Froyo / 2.2.x)
- executes network requests asynchronously (in a background AndroidService)
- supports REST out of the box (using Spring Android or Google Http Client or Retrofit).
- is strongly typed ! You query webservices using POJOs as parameters and you get POJOs as request results.
- enforces no constraints neither on POJOs used for requests nor on Activity classes you use in your projects
- caches results in Json with both Jackson or Jackson2 or 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 with respect to their lifecycles.
- notifies your activities (or any other context) on the UI Thread
- no memory leaks at all, like Android Loaders, unlike Android AsyncTasks
- uses a simple but robust exception handling model
- supports multi-threading of request executions
- is stable, efficient and designed to respect Android philosophy
- supports request cancelling, request priorization and requests aggregation
- supports aggregation of different web services
- is a full featured replacement for long �running AsyncTasks even if they are not related to networking.
- is open source 😉
- and tested (more than 200 tests)