From d415efde3535ccf50807f3aabafd2fe98f0f504a Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 20 Dec 2023 16:36:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=98=E4=BB=A4=E7=AD=89=E7=BA=A7=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/common/dialog/OrderLevelPopupWindow.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/src/main/java/com/yunbao/common/dialog/OrderLevelPopupWindow.java b/common/src/main/java/com/yunbao/common/dialog/OrderLevelPopupWindow.java index 4888ebbfd..0cc8aa227 100644 --- a/common/src/main/java/com/yunbao/common/dialog/OrderLevelPopupWindow.java +++ b/common/src/main/java/com/yunbao/common/dialog/OrderLevelPopupWindow.java @@ -9,6 +9,7 @@ import androidx.annotation.NonNull; import com.lxj.xpopup.core.CenterPopupView; import com.yunbao.common.R; +import com.yunbao.common.views.weight.ViewClicksAntiShake; import java.math.BigDecimal; @@ -42,6 +43,7 @@ public class OrderLevelPopupWindow extends CenterPopupView { orderLevelDiamond = findViewById(R.id.order_level_diamond); balanceDiamond = findViewById(R.id.balance_diamond); current = findViewById(R.id.current); + progressBar = findViewById(R.id.progressBar); orderLevel.setText(buyExp); progressBar.setMax(totalExperience); progressBar.setProgress(currentExperience); @@ -72,5 +74,11 @@ public class OrderLevelPopupWindow extends CenterPopupView { } }); + ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.war_order_close), new ViewClicksAntiShake.ViewClicksCallBack() { + @Override + public void onViewClicks() { + dialog.dismiss(); + } + }); } }