1:修改进入房间更改火热值

This commit is contained in:
2025-09-12 16:11:09 +08:00
parent a3b689c17e
commit d309c10cf7
8 changed files with 122 additions and 118 deletions

View File

@@ -82,6 +82,10 @@ public class ConfirmDialog extends Dialog {
// 设置点击监听器
btnPositive.setOnClickListener(v -> {
if (countDownTimer != null) {
countDownTimer.cancel(); // 取消倒计时
countDownTimer = null;
}
if (positiveButtonClickListener != null) {
positiveButtonClickListener.onClick(v);
}

View File

@@ -301,6 +301,9 @@ public abstract class BaseWheatView extends ConstraintLayout implements IBaseWhe
}
public void setCharm(String charm){
mCharmView.setSex(pitBean.getSex(), pitBean.getUser_id(), charm, false);
}
/**
* 开始倒计时