2019-04-11 18:05:41 +08:00
|
|
|
|
package com.novelbook.android.utils;
|
|
|
|
|
|
2019-04-23 22:45:08 +08:00
|
|
|
|
import com.novelbook.android.bean.Progress;
|
|
|
|
|
|
|
|
|
|
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";
|
2019-04-28 00:18:56 +08:00
|
|
|
|
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-04-21 10:57:20 +08:00
|
|
|
|
public static final boolean SHOWAD =false ;
|
2019-04-28 00:18:56 +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-05-18 23:02:33 +08:00
|
|
|
|
public static long LAST_G = 0;//主目录API上次访问时间
|
|
|
|
|
public static long MAXAGE_G = 3600;//主目录API上次访问时间
|
2019-04-28 00:18:56 +08:00
|
|
|
|
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-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-04-11 18:05:41 +08:00
|
|
|
|
}
|