This repository has been archived by the owner. 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.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.