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. j a v a 2s .c o m import com.octo.android.robospice.request.retrofit.RetrofitSpiceRequest; import com.octo.android.robospice.sample.retrofit.model.Gist; import com.octo.android.robospice.sample.retrofit.network.GitHub; import roboguice.util.temp.Ln; public class GistsRequest extends RetrofitSpiceRequest<Gist.AsList, GitHub> { public GistsRequest() { super(Gist.AsList.class, GitHub.class); } @Override public Gist.AsList loadDataFromNetwork() { Ln.d("Call web service "); return getService().gists(); } }