Newer
Older
BelloLibraryDemo / bellolibrary / src / main / java / me / bello / bellolibrary / BelloConfig.java
package me.bello.bellolibrary;

/**
 * @Info library的配置
 * @Auth Bello
 * @Time 18-4-13 上午11:51
 * @Ver
 */

public class BelloConfig {

    /**
     * 应用的debug模式,debug模式下默认显示logger,release不显示logger
     * true:  打印
     * false: 不打印
     * 可在APP的Application里调用getDebugMode动态设置
     */
    public static boolean debugMode = true;

    /**
     * 是否保存日志到本地
     */
    public static boolean saveLog = true;

    /**
     * 是否保存Crash到本地
     */
    public static boolean saveCrash = true;

    /**
     * 页面加载效果:是否可手动关闭整个dialog
     */
    public static boolean loadingCanClose = true;

    /**
     * 页面加载效果:是否显示整屏灰色半透明
     */
    public static boolean loadingShowBg = true;

    /**
     * 打开图片的基地址
     */
    public static String httpImgBaseUrl = "";

    /**
     * Glide加载失败的图片ID
     */
    public static int glideErrImg = me.bello.bellolibrary.R.drawable.ic_pic_error;

    /**
     * Glide加载中的图片ID
     */
    public static int glidePlaceImg = me.bello.bellolibrary.R.drawable.ic_place;

}