直播间房间号加ID

This commit is contained in:
18401019693 2023-06-01 15:56:06 +08:00
parent a67c2b4009
commit 3aa85ca9bb

View File

@ -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);
}
}