Android Open Source - robospice-minnebar-example Gist Request






From Project

Back to project page robospice-minnebar-example.

License

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.

Java Source Code

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);
    }
}




Java Source Code List

com.octo.android.robospice.sample.retrofit.BaseSampleSpiceActivity.java
com.octo.android.robospice.sample.retrofit.FakeConfig.java
com.octo.android.robospice.sample.retrofit.SampleSpiceActivity.java
com.octo.android.robospice.sample.retrofit.model.CallResponse.java
com.octo.android.robospice.sample.retrofit.model.Contributor.java
com.octo.android.robospice.sample.retrofit.model.GistDetail.java
com.octo.android.robospice.sample.retrofit.model.GistFile.java
com.octo.android.robospice.sample.retrofit.model.Gist.java
com.octo.android.robospice.sample.retrofit.network.GitHub.java
com.octo.android.robospice.sample.retrofit.network.GithubSpiceService.java
com.octo.android.robospice.sample.retrofit.network.TwilioSpiceService.java
com.octo.android.robospice.sample.retrofit.network.Twilio.java
com.octo.android.robospice.sample.retrofit.network.requests.CallRequest.java
com.octo.android.robospice.sample.retrofit.network.requests.GistRequest.java
com.octo.android.robospice.sample.retrofit.network.requests.GistsRequest.java