From 3aa85ca9bb1e75b9d9e2269456267ab64b0c1039 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Thu, 1 Jun 2023 15:56:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E9=97=B4=E6=88=BF=E9=97=B4?= =?UTF-8?q?=E5=8F=B7=E5=8A=A0ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/views/LiveRoomViewHolder.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index c555028ed..3d1172b2c 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -5,7 +5,6 @@ import static com.yunbao.live.bean.LiveChatBean.RECOMMEND_CARD_NOTIFY; import android.app.Activity; import android.app.Dialog; import android.content.Context; -import android.graphics.Color; import android.graphics.Outline; import android.graphics.drawable.Drawable; import android.os.Bundle; @@ -2479,7 +2478,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis */ public void setRoomNum(String roomNum) { if (mID != null) { - mID.setText(roomNum); + mID.setText(String.format("ID:%s", roomNum)); } } @@ -3679,7 +3678,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis public void setAnchorGoodNumber(String goodNumber) { if (!StringUtil.isEmpty(goodNumber) && !goodNumber.equals("0")) { mAnchorLayout.setBackgroundResource(R.drawable.bg_live_anchor_goodnum); - mID.setText(goodNumber); + mID.setText(String.format("ID:%s", goodNumber)); mGoodNumberIcon.setVisibility(View.VISIBLE); } }