6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-18 11:04:21 +08:00
parent d065726274
commit 5afed0ee43

View File

@ -212,17 +212,18 @@ public class LiveGiftPopup extends AbsDialogFragment {
}
});
//连送
ViewClicksAntiShake.clicksAntiShake(mBtnSendGroup, new ViewClicksAntiShake.ViewClicksCallBack() {
mBtnSendGroup.setOnClickListener(new View.OnClickListener() {
@Override
public void onViewClicks() {
sendGift();
public void onClick(View v) {
sendGiftHandler.post(sendGiftRunnble);
}
});
//送礼
ViewClicksAntiShake.clicksAntiShake(liveGiftSend, new ViewClicksAntiShake.ViewClicksCallBack() {
@Override
public void onViewClicks() {
sendGift();
sendGiftHandler.post(sendGiftRunnble);
}
});
@ -506,6 +507,14 @@ public class LiveGiftPopup extends AbsDialogFragment {
});
}
private Handler sendGiftHandler = new Handler();
private Runnable sendGiftRunnble = new Runnable() {
@Override
public void run() {
sendGift();
}
};
/**
* 赠送礼物
*/