Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Retrofit module

stephanenicolas edited this page May 21, 2013 · 3 revisions

Based on Retrofit.

The Retrofit module provides support for :

  • data formats : JSON via Gson
  • caching the results of SpiceRequest in this formats
  • pre-setup SpiceService subclasses
  • 2 Classes that easy writing Retrofit requests

A sample for this module is available in RoboSpice samples repository on GitHub.

Basically, a RetrofitSpiceService will have the ability to provide every RetrofitSpiceRequest with a Retrofit RESTAdapter to ease creating REST requests and transforming them into POJOs.

We believe this module to be easier to use than SpringAndroid and, anyhow interesting from a design point of view.