pda/zhuike/src/main/java/com/novelbook/android/utils/Constants.java

45 lines
2.0 KiB
Java
Raw Normal View History

2019-04-11 18:05:41 +08:00
package com.novelbook.android.utils;
2019-05-21 23:30:59 +08:00
import com.novelbook.android.bean.ProgressType;
2019-04-23 22:45:08 +08:00
import java.util.List;
2019-04-11 18:05:41 +08:00
public class Constants {
2019-04-12 23:02:31 +08:00
public static final String BLOCK_TITLE_NOVELS = "ns";
public static final String HOT_KEYS = "keywords";
2019-04-12 23:02:31 +08:00
public static final int NOVEL_SPAN_CNT =3 ; //grid columns
2019-06-01 22:01:34 +08:00
public static final int MAXAGE_MAX =60*60*24*28; //28 天 ;
public static final int MAXAGE_MULU = 60*60*24*7*2; //2周;;
2019-05-11 23:21:57 +08:00
public static final String VERSION_ADDRESS ="version.xml";
2019-06-01 22:01:34 +08:00
public static final boolean SHOWAD =true ;
2019-06-03 00:32:52 +08:00
public static boolean AD_PRE_LOAD_CHAPT = false;
2019-06-02 13:30:01 +08:00
public static long AD_SPLASH_INVTERVAL = 5*60*1000;//间隔5分钟
public static int AD_SPLASH_PAGES = 15;
public static int SCREEN_HEIGHT_PIX =1920 ;
public static int SCREEN_WIDTH_PIX = 1080;
2019-05-18 23:02:33 +08:00
public static long LAST_G = 0;//主目录API上次访问时间
public static long MAXAGE_G = 3600;//主目录API上次访问时间
public static String[] HOT_KEYS_VALUE = {};
2019-04-23 22:45:08 +08:00
public static int SEX=1; //1 男2女
2019-04-20 00:26:49 +08:00
public static String A_Regex = "<a[^>]+href[\\s]*=[\\s]*['\"]?([^'\"]+)['\"\\s]?[^>]*>([^<]+)<"; //TODO: 从服务器更新
2019-04-23 22:45:08 +08:00
public static List<String> lstProperties =null;
public static List<String> lstSex =null;
public static List<String> lstNt=null;
//public static List<Progress> lstProgress=null;
2019-04-25 02:01:18 +08:00
public static String[] lstProgress={"连载中","已完本","新书"};
2019-05-21 23:30:59 +08:00
public static List<ProgressType> lstProgressType=null;
2019-05-20 00:06:07 +08:00
public static int retryCnt =5;
public static int muluRetryCnt =5;
2019-04-25 02:01:18 +08:00
// public static List<String> lstProgress=null;
2019-04-26 00:31:07 +08:00
public static boolean showDialogOnUi =true;
public static boolean showDialogOnUiPage =false;
2019-05-18 23:02:33 +08:00
public static String announcement ="免责声明:阅读内容均来自互联网,本软件仅提供转码服务";
2019-05-20 00:06:07 +08:00
public static String email ="";
2019-05-24 00:33:30 +08:00
public static int minVersion =0;
2019-05-25 23:57:12 +08:00
public static int version =0;
2019-05-27 23:11:41 +08:00
public static int serverVersion =0;
2019-05-24 00:33:30 +08:00
public static String updateUrl="http://xiaoshuofenxiang.com/version.xml";;
2019-04-11 18:05:41 +08:00
}