Back to project page robospice-minnebar-example.
The source code is released under:
Apache License
If you think the Android project robospice-minnebar-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.octo.android.robospice.sample.retrofit.network.requests; //w w w . jav a 2 s . co m import com.octo.android.robospice.request.retrofit.RetrofitSpiceRequest; import com.octo.android.robospice.sample.retrofit.model.GistDetail; import com.octo.android.robospice.sample.retrofit.network.GitHub; /** * Created by colintheshots on 4/6/14. */ public class GistRequest extends RetrofitSpiceRequest<GistDetail, GitHub> { private String id; public GistRequest(String id) { super(GistDetail.class, GitHub.class); this.id = id; } @Override public GistDetail loadDataFromNetwork() throws Exception { return getService().gist(id); } }