1:修改礼物飘屏判断送的人和接收的人
2:修改所有盘在次点击的时候,初始化选中状态 3:修改礼物飘屏的文字大小 4:修改首页去围观展示的文字
This commit is contained in:
@@ -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