Android Open Source - XKCD-Reader Constants






From Project

Back to project page XKCD-Reader.

License

The source code is released under:

Apache License

If you think the Android project XKCD-Reader 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.davidtpate.xkcd.model;
/*from w ww  .  j  a va  2 s .  c om*/
public class Constants {
    public static final int LATEST_COMIC_NUMBER = -42;

    public static class API {
        public static final String LATEST_COMIC_ENDPOINT = "http://xkcd.com/info.0.json";
        public static final String SPECIFIC_COMIC_ENDPOINT = "http://xkcd.com/%d/info.0.json";
    }

    public static class Extra {
        public static final String EXTRA_COMIC_NUMBER = "com.davidtpate.xkcdviewer.extras.COMIC_NUMBER";
        public static final String EXTRA_COMIC = "com.davidtpate.xkcdviewer.extras.COMIC";
        public static final String EXTRA_SYSTEM_UI_VISIBILITY = "com.davidtpate.xkcdviewer.extra.SYSTEM_UI_VISIBILITY";
    }

    public static class Intent {
        public static final String BROADCAST_TOGGLE_FULLSCREEN = "com.davidtpate.xkcdviewer.broadcast.TOGGLE_FULLSCREEN";
    }

    public static class MagicNumbers {
        public static final int MAX_COMIC_OFFSCREEN_LIMIT = 2;
    }

    public static class Preferences {
        public static final String MAX_COMICS = "maxComics";
    }
}




Java Source Code List

android.support.v4.app.FixedFragmentStatePagerAdapter.java
com.android.debug.hv.ViewServer.java
com.davidtpate.xkcd.BaseApplication.java
com.davidtpate.xkcd.adapter.ComicPagerAdapter.java
com.davidtpate.xkcd.model.Comic.java
com.davidtpate.xkcd.model.Constants.java
com.davidtpate.xkcd.preferences.SharedPreferencesHelper.java
com.davidtpate.xkcd.provider.SystemUiStateProvider.java
com.davidtpate.xkcd.ui.About.java
com.davidtpate.xkcd.ui.ComicFragmentActivity.java
com.davidtpate.xkcd.ui.ComicFragment.java
com.davidtpate.xkcd.ui.CurrentComic.java
com.davidtpate.xkcd.ui.base.BaseActivity.java
com.davidtpate.xkcd.ui.base.BaseFragmentActivity.java
com.davidtpate.xkcd.ui.base.BaseFragment.java
com.davidtpate.xkcd.ui.base.BaseListActivity.java
com.davidtpate.xkcd.ui.base.BaseListFragment.java
com.davidtpate.xkcd.ui.dialog.JumpToDialogFragment.java
com.davidtpate.xkcd.util.AndroidUtil.java
com.davidtpate.xkcd.util.ComicUtil.java
com.davidtpate.xkcd.util.Ln.java
com.davidtpate.xkcd.util.MathUtil.java
com.davidtpate.xkcd.util.Strings.java