RoboSpice is an Open source library for Android to perform long running background tasks. It has been designed primarily to execute network processing (such as performing REST requests) but it can be used as a full, working, replacement for AsyncTasks.
RoboSpice is an Open source library for Android to perform long running background tasks. It has been designed primarily to execute network processing (such as performing REST requests) but it can be used as a full, working, replacement for AsyncTasks.
The principle of RoboSpice is that "background tasks" are processed inside an Android Service. To understand why RoboSpice is better than AsyncTasks and Loaders, refer to this infographics
RoboSpice offers different module to provide REST support out of the box via various technologies :
- Spring Android
- Google Http Java Client
- RetroFit
- ui modules to help creating list views of images downloaded from the network with optimal memory management.
Asynchronous Networking Made Easy. Robust and simple. GitHub repository