直播间房间号加ID
This commit is contained in:
parent
a67c2b4009
commit
3aa85ca9bb
@ -5,7 +5,6 @@ import static com.yunbao.live.bean.LiveChatBean.RECOMMEND_CARD_NOTIFY;
|
|||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Color;
|
|
||||||
import android.graphics.Outline;
|
import android.graphics.Outline;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
@ -2479,7 +2478,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
*/
|
*/
|
||||||
public void setRoomNum(String roomNum) {
|
public void setRoomNum(String roomNum) {
|
||||||
if (mID != null) {
|
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) {
|
public void setAnchorGoodNumber(String goodNumber) {
|
||||||
if (!StringUtil.isEmpty(goodNumber) && !goodNumber.equals("0")) {
|
if (!StringUtil.isEmpty(goodNumber) && !goodNumber.equals("0")) {
|
||||||
mAnchorLayout.setBackgroundResource(R.drawable.bg_live_anchor_goodnum);
|
mAnchorLayout.setBackgroundResource(R.drawable.bg_live_anchor_goodnum);
|
||||||
mID.setText(goodNumber);
|
mID.setText(String.format("ID:%s", goodNumber));
|
||||||
mGoodNumberIcon.setVisibility(View.VISIBLE);
|
mGoodNumberIcon.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user