战令等级添加参数

This commit is contained in:
18401019693 2023-12-20 16:36:13 +08:00
parent 7b103aaf7c
commit d415efde35

View File

@ -9,6 +9,7 @@ import androidx.annotation.NonNull;
import com.lxj.xpopup.core.CenterPopupView; import com.lxj.xpopup.core.CenterPopupView;
import com.yunbao.common.R; import com.yunbao.common.R;
import com.yunbao.common.views.weight.ViewClicksAntiShake;
import java.math.BigDecimal; import java.math.BigDecimal;
@ -42,6 +43,7 @@ public class OrderLevelPopupWindow extends CenterPopupView {
orderLevelDiamond = findViewById(R.id.order_level_diamond); orderLevelDiamond = findViewById(R.id.order_level_diamond);
balanceDiamond = findViewById(R.id.balance_diamond); balanceDiamond = findViewById(R.id.balance_diamond);
current = findViewById(R.id.current); current = findViewById(R.id.current);
progressBar = findViewById(R.id.progressBar);
orderLevel.setText(buyExp); orderLevel.setText(buyExp);
progressBar.setMax(totalExperience); progressBar.setMax(totalExperience);
progressBar.setProgress(currentExperience); 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();
}
});
} }
} }