修改热度加成逻辑展示方式

This commit is contained in:
18401019693
2023-04-11 14:14:42 +08:00
parent e99b18eec6
commit b305ba925b
10 changed files with 114 additions and 66 deletions

View File

@@ -49,21 +49,13 @@ public class ReplacementHintCustomPopup extends CenterPopupView {
wishTab.setText(String.format("【%s】", getContext().getString(R.string.seasonal_wish)));
break;
}
ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.live_open_cancel), new ViewClicksAntiShake.ViewClicksCallBack() {
@Override
public void onViewClicks() {
if (callBack != null) {
callBack.onReplacement(type);
}
dismiss();
}
});
ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.live_open_ok), new ViewClicksAntiShake.ViewClicksCallBack() {
@Override
public void onViewClicks() {
dismiss();
ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.live_open_cancel), () -> {
if (callBack != null) {
callBack.onReplacement(type);
}
dismiss();
});
ViewClicksAntiShake.clicksAntiShake(findViewById(R.id.live_open_ok), this::dismiss);
}
public interface ReplacementHintCallBack {