修复问题
This commit is contained in:
parent
b3fb6e62ae
commit
c139b03417
@ -1243,7 +1243,7 @@ Limited ride And limited avatar frame</string>
|
|||||||
<string name="anchor_his_heart">贈送主播禮物表達心意</string>
|
<string name="anchor_his_heart">贈送主播禮物表達心意</string>
|
||||||
<string name="red_packet_countdown">倒計時:%s</string>
|
<string name="red_packet_countdown">倒計時:%s</string>
|
||||||
<string name="open_red_packet">待開紅包:%s</string>
|
<string name="open_red_packet">待開紅包:%s</string>
|
||||||
<string name="together_to_achieve_goal">來自%s的獎勵,齊心協力連成目標</string>
|
<string name="together_to_achieve_goal">%s的紅包</string>
|
||||||
<string name="red_too_bad">很遺憾</string>
|
<string name="red_too_bad">很遺憾</string>
|
||||||
<string name="red_too_bad2">與紅包擦肩而過</string>
|
<string name="red_too_bad2">與紅包擦肩而過</string>
|
||||||
<string name="check_out_your_luck">查看大家手氣</string>
|
<string name="check_out_your_luck">查看大家手氣</string>
|
||||||
|
@ -1452,6 +1452,12 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
} else {
|
} else {
|
||||||
redPacketQueue.setVisibility(View.VISIBLE);
|
redPacketQueue.setVisibility(View.VISIBLE);
|
||||||
redPacketCountdown.setVisibility(View.GONE);
|
redPacketCountdown.setVisibility(View.GONE);
|
||||||
|
StringBuffer stringBuffer = new StringBuffer();
|
||||||
|
stringBuffer.append(mRedPacketModel.getRedPacketRemain() )
|
||||||
|
.append("/")
|
||||||
|
.append(mRedPacketModel.getRedPacketQuantity());
|
||||||
|
redSchedule.setText(stringBuffer.toString());
|
||||||
|
openRedPacket.setText(String.format(mContext.getString(R.string.open_red_packet), mRedPacketModel.getRedPacketCount()+ ""));
|
||||||
}
|
}
|
||||||
if (IMLoginManager.get(mContext).getUserInfo().anchorUserType() && mContext instanceof LiveRyAnchorActivity) {
|
if (IMLoginManager.get(mContext).getUserInfo().anchorUserType() && mContext instanceof LiveRyAnchorActivity) {
|
||||||
anchorTimeHandler.removeCallbacks(anchorTimeRunnable);
|
anchorTimeHandler.removeCallbacks(anchorTimeRunnable);
|
||||||
|
@ -22,6 +22,6 @@ public class RedPacketGiftViewHolder extends RecyclerView.ViewHolder {
|
|||||||
|
|
||||||
public void showData(RedPacketGiftModel redPacketGiftModel) {
|
public void showData(RedPacketGiftModel redPacketGiftModel) {
|
||||||
ImgLoader.displayAvatar(itemView.getContext(), redPacketGiftModel.getGifticon(), giftIcon);
|
ImgLoader.displayAvatar(itemView.getContext(), redPacketGiftModel.getGifticon(), giftIcon);
|
||||||
giftName.setText(redPacketGiftModel.getGiftNum());
|
giftName.setText("X"+redPacketGiftModel.getGiftNum());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user