12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- package com.edufound.reader.util;
- import android.app.Application;
- import com.edufound.reader.bean.UserBean;
- public class Consts {
- private static Application mApplicAtion;
- private static int[] screenSize;
- private static UserBean mConstsUserBean;
- private static boolean isDebug = false;
- private static String privService = "http://m-xyyf-web.ai160.com/res/protocol/private.htm";
- private static String agreementServices = "http://m-xyyf-web.ai160.com/res/protocol/service.htm";
- private static final String FinalApiUrl = "http://reader-api.efunbox.cn";
- private static String UMENG_CHANNEL = null;
- private static String UID = "";
- public static String getUID() {
- return UID;
- }
- public static void setUID(String UID) {
- Consts.UID = UID;
- }
- public static Application getmApplicAtion() {
- return mApplicAtion;
- }
- public static void setmApplicAtion(Application mApplicAtion) {
- Consts.mApplicAtion = mApplicAtion;
- }
- public static int[] getScreenSize() {
- return screenSize;
- }
- public static void setScreenSize(int[] screenSize) {
- Consts.screenSize = screenSize;
- }
- public static UserBean getmConstsUserBean() {
- return mConstsUserBean;
- }
- public static void setmConstsUserBean(UserBean mConstsUserBean) {
- Consts.mConstsUserBean = mConstsUserBean;
- }
- public static String getPrivServiceUrl() {
- return privService;
- }
- public static String getAgreementServicesUrl() {
- return agreementServices;
- }
- public static boolean isIsDebug() {
- return isDebug;
- }
- public static void setIsDebug(boolean isDebug) {
- Consts.isDebug = isDebug;
- }
- public static String getFinalApi() {
- return FinalApiUrl;
- }
- public static String getUmengChannel() {
- return UMENG_CHANNEL;
- }
- public static void setUmengChannel(String umengChannel) {
- UMENG_CHANNEL = umengChannel;
- }
- }
|