Releases: hss01248/DialogUtil
Releases · hss01248/DialogUtil
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.2
2.0.1
2.0.0
1.增加几个全局配置项
public static boolean cancelable = true;//默认可以点击后退键来dismiss对话框
public static boolean outsideTouchable = false;//默认外部半透明处点击消失
/**
* 是否在点击按钮后自动消失
* 针对有的情况下点击按钮/item拿到回调后,需要dialog不消失
*/
public static boolean dismissAfterResultCallback = true;
/**
* 半透明遮罩
*/
public static boolean dimBehind = true;
/**
* 是否使用带阴影的背景(以防有的手机无法显示后面的半透明遮罩,而与下方界面黏连)
*/
public static boolean useTheShadowBg = true;
2.完善dismissAfterResultCallback 配置项的逻辑