111
This commit is contained in:
@@ -72,8 +72,8 @@ public class CommonAppConfig {
|
||||
public static boolean isGetNewWrap = false;//是否获取到新的包裹礼物
|
||||
public static int alert_time = 1;
|
||||
public static int alert_end_time = 1;
|
||||
//是否是新用户
|
||||
public static boolean isNewUser = true;
|
||||
|
||||
|
||||
|
||||
|
||||
private CommonAppConfig() {
|
||||
|
||||
@@ -33,6 +33,15 @@ public class LiveGiftBean {
|
||||
private String swf;
|
||||
private String isweek;
|
||||
private String end_time;
|
||||
private String tag;
|
||||
|
||||
public String getTag() {
|
||||
return tag;
|
||||
}
|
||||
|
||||
public void setTag(String tag) {
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
public String getEnd_time() {
|
||||
return end_time;
|
||||
|
||||
@@ -25,6 +25,8 @@ public class IMLoginManager extends BaseCacheManager {
|
||||
private final static String KEY_USER_INFO = "keyUserInfo";
|
||||
private static IMLoginManager manager;
|
||||
private IMLoginModel userInfo;
|
||||
|
||||
|
||||
//根据用户信息
|
||||
private Handler netHandler = new Handler();
|
||||
private Context context;
|
||||
@@ -33,6 +35,25 @@ public class IMLoginManager extends BaseCacheManager {
|
||||
super(context);
|
||||
this.context = context;
|
||||
}
|
||||
//新用戶是否送了禮物
|
||||
public boolean isNewUserGif(){
|
||||
return getBoolean("isNewUserGif",false);
|
||||
}
|
||||
//新用戶是否送了禮物
|
||||
public void setNewUserGif(boolean t){
|
||||
put("isNewUserGif",t);
|
||||
}
|
||||
|
||||
// 是否新用户第一次進直播間
|
||||
public boolean isisNewUserOne(){
|
||||
return getBoolean("isNewUserOne",false);
|
||||
}
|
||||
//新用戶是否送了禮物
|
||||
public void setisNewUserOne(boolean t){
|
||||
put("isNewUserOne",t);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取单利
|
||||
|
||||
@@ -25,6 +25,7 @@ public class RouteUtil {
|
||||
public static final String PATH_MYWEBVIEWACTIVTITY = "/main/MyWebViewActivity";
|
||||
public static final String PATH_ZHUANGBANACTIVITY = "/main/ZhuangBanActivity";
|
||||
public static final String PATH_FACEBOOKACTIVITY = "/baidu/FacebookLoginActivity";
|
||||
public static final String PATH_MAIN= "/main/MainActivity";
|
||||
|
||||
/**
|
||||
* 启动页
|
||||
|
||||
Reference in New Issue
Block a user