feat: 整理 DialogUtils 的历史弹窗并改为新的弹窗 https://jira.shanqu.cc/browse/GHZS-853

This commit is contained in:
叶子维
2023-01-05 10:34:12 +08:00
parent a03a829980
commit bb86bf313b
16 changed files with 233 additions and 520 deletions

View File

@ -482,8 +482,9 @@ public class LibaoUtils {
break;
case "try tao":
case "used up":
DialogUtils.showHintDialog(context, "礼包已领光"
, "手速不够快,礼包已经被抢光了,十分抱歉", "知道了");
DialogHelper.showDialog(context, "礼包已领光", "手速不够快,礼包已经被抢光了,十分抱歉", "知道了", "", () -> {
}, () -> {
}, false, "", "");
break;
case "maintaining":
Utils.toast(context, "网络状态异常,请稍后再试");
@ -609,8 +610,9 @@ public class LibaoUtils {
break;
case "try tao":
case "used up":
DialogUtils.showHintDialog(context, "礼包已领光"
, "手速不够快,礼包已经被抢光了,十分抱歉", "知道了");
DialogHelper.showDialog(context, "礼包已领光", "手速不够快,礼包已经被抢光了,十分抱歉", "知道了", "", () -> {
}, () -> {
}, false, "", "");
libaoEntity.setStatus("used_up");
if (libaoBtn != null) {
initLibaoBtn(context, libaoBtn, libaoEntity, isInstallRequired, adapter, false, entrance, listener);