根据issues整理项目

This commit is contained in:
huangzhuanghua
2016-09-06 18:15:41 +08:00
parent 6cbb033326
commit 4e392eeb14
65 changed files with 1224 additions and 2610 deletions

View File

@ -1,13 +1,36 @@
package com.gh.common.constant;
import com.gh.gamecenter.SplashScreenActivity;
public final class Config {
public class Config {
public static final String HOST = "http://api.ghzhushou.com/";
public static final String PREFERENCE = "ghzhushou";
public static final boolean isShow = SplashScreenActivity.isShow;
private boolean isShow;
public boolean isShow() {
return isShow;
}
public void setShow(boolean show) {
isShow = show;
}
private static Config mInstance;
public Config() {
}
public static Config getInstance() {
if (mInstance == null) {
synchronized (Config.class) {
if (mInstance == null) {
mInstance = new Config();
}
}
}
return mInstance;
}
}