Android Open Source - xkcd Comic Service






From Project

Back to project page xkcd.

License

The source code is released under:

Apache License

If you think the Android project xkcd 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.nightlynexus.xkcd;
//from  w  w w  .  j  a  v a 2  s  .com
import retrofit.Callback;
import retrofit.http.GET;
import retrofit.http.Path;

public interface ComicService {

    @GET("/{number}/info.0.json")
    void getComic(@Path("number") int number, Callback<Comic> cb);

    @GET("/info.0.json")
    void getComicLatest(Callback<Comic> cb);
}




Java Source Code List

com.nightlynexus.xkcd.ApplicationTest.java
com.nightlynexus.xkcd.ComicActivity.java
com.nightlynexus.xkcd.ComicFragment.java
com.nightlynexus.xkcd.ComicService.java
com.nightlynexus.xkcd.Comic.java