1:修改礼物飘屏判断送的人和接收的人
2:修改所有盘在次点击的时候,初始化选中状态 3:修改礼物飘屏的文字大小 4:修改首页去围观展示的文字
This commit is contained in:
@@ -1513,7 +1513,7 @@ class RoomActivity : BaseMvpActivity<RoomPresenter?, ActivityRoomBinding?>(),
|
||||
} else if (msgType == EMMessageInfo.QXRoomMessageTypeSignTipText) {
|
||||
roomFragment?.handleRoomMessage(messageEvent)
|
||||
}else if (msgType == EMMessageInfo.QXRoomMessageTypeSignChat) {//暴币展示
|
||||
QXGiftPlayerManager.getInstance(this).displayFullEffectView(messageEvent.text.play_image)
|
||||
QXGiftPlayerManager.getInstance(this).displayChatEffectView(messageEvent.text.play_image)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import static android.view.View.GONE;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
import android.text.TextUtils;
|
||||
import android.util.DisplayMetrics;
|
||||
import android.util.TypedValue;
|
||||
import android.view.LayoutInflater;
|
||||
@@ -233,7 +234,11 @@ public class VoiceCategoryFragment extends BaseMvpFragment<VoiceCategoryPresente
|
||||
mqttList.addAll(cachedMqttBeans.get(i).getList());
|
||||
}
|
||||
for (int i = 0; i < mqttList.size(); i++) {
|
||||
info.add(mqttList.get(i).getFromUserName() + "送给" + mqttList.get(i).getToUserName() + "\n" + mqttList.get(i).getGiftName());
|
||||
if (TextUtils.isEmpty(mqttList.get(i).getToUserName())) {
|
||||
info.add(mqttList.get(i).getText());
|
||||
} else {
|
||||
info.add(mqttList.get(i).getFromUserName() + "送给" + mqttList.get(i).getToUserName() + "\n" + mqttList.get(i).getGiftName());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -372,6 +372,14 @@ public class GiftLotteryDialog extends BaseMvpDialogFragment<GiftLotteryPresente
|
||||
circularProgress.setProgress(0);
|
||||
}
|
||||
|
||||
private void setSelected(){
|
||||
for (GiftCardView gridView : allViewsArray) {
|
||||
gridView.setSelected(false);
|
||||
gridView.stopPulseAnimationWithLayer();
|
||||
gridView.setVisibilitymResultTextView(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void onClisk(View view) {
|
||||
int id = view.getId();
|
||||
|
||||
@@ -381,6 +389,7 @@ public class GiftLotteryDialog extends BaseMvpDialogFragment<GiftLotteryPresente
|
||||
isDrawing = true;
|
||||
// init(1);
|
||||
startType = 1;
|
||||
setSelected();
|
||||
MvpPre.drawGiftList(giftBagId, userIds, roomId, "1", heart_id,auction_id);
|
||||
} else {
|
||||
// com.hjq.toast.ToastUtils.show("正在抽奖中...");
|
||||
@@ -391,6 +400,7 @@ public class GiftLotteryDialog extends BaseMvpDialogFragment<GiftLotteryPresente
|
||||
isDrawing = true;
|
||||
// init(2);
|
||||
startType = 2;
|
||||
setSelected();
|
||||
MvpPre.drawGiftList(giftBagId, userIds, roomId, "6", heart_id,auction_id);
|
||||
|
||||
} else {
|
||||
@@ -401,6 +411,7 @@ public class GiftLotteryDialog extends BaseMvpDialogFragment<GiftLotteryPresente
|
||||
isDrawing = true;
|
||||
// init(3);
|
||||
startType = 3;
|
||||
setSelected();
|
||||
MvpPre.drawGiftList(giftBagId, userIds, roomId, "9", heart_id,auction_id);
|
||||
} else {
|
||||
// com.hjq.toast.ToastUtils.show("正在抽奖中...");
|
||||
|
||||
Reference in New Issue
Block a user