修复直播间不显示靓号问题
This commit is contained in:
parent
1407ecc2f2
commit
d49b60a1e1
@ -730,6 +730,7 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
|||||||
if (mLiveRoomViewHolder != null) {
|
if (mLiveRoomViewHolder != null) {
|
||||||
mLiveRoomViewHolder.startAnchorLiveTime();
|
mLiveRoomViewHolder.startAnchorLiveTime();
|
||||||
mLiveRoomViewHolder.startAnchorCheckLive();
|
mLiveRoomViewHolder.startAnchorCheckLive();
|
||||||
|
mLiveRoomViewHolder.setAnchorGoodNumber(obj.getString("goodnum"));
|
||||||
}
|
}
|
||||||
mStartLive = true;
|
mStartLive = true;
|
||||||
mLiveRoomViewHolder.startRefreshUserList();
|
mLiveRoomViewHolder.startRefreshUserList();
|
||||||
|
@ -3205,6 +3205,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);
|
||||||
mGoodNumberIcon.setVisibility(View.VISIBLE);
|
mGoodNumberIcon.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -366,6 +366,8 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
mLiveRoomViewHolder.setGuardIcon(data.getGuardUserAvatar());
|
mLiveRoomViewHolder.setGuardIcon(data.getGuardUserAvatar());
|
||||||
//在线列表
|
//在线列表
|
||||||
mLiveRoomViewHolder.setUserList(data.getEnterRoomInfo().getUserlists());
|
mLiveRoomViewHolder.setUserList(data.getEnterRoomInfo().getUserlists());
|
||||||
|
//设置靓号
|
||||||
|
mLiveRoomViewHolder.setAnchorGoodNumber(data.getLiveInfo().getGoodnum());
|
||||||
List<BannerBean> bannerBeans = new ArrayList<>();
|
List<BannerBean> bannerBeans = new ArrayList<>();
|
||||||
//心愿单
|
//心愿单
|
||||||
if (data.getWishList().getWishList().size() > 0) {
|
if (data.getWishList().getWishList().size() > 0) {
|
||||||
@ -506,7 +508,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
mLiveRoomViewHolder.setOtherInfo(pkInfo.getString("pkuid"), pkInfo.getString("pkuimg"), pkInfo.getString("pkuname"));
|
mLiveRoomViewHolder.setOtherInfo(pkInfo.getString("pkuid"), pkInfo.getString("pkuimg"), pkInfo.getString("pkuname"));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
linkMicPkStartHandler.postDelayed(linkMicPkStartRunnable,4000);
|
linkMicPkStartHandler.postDelayed(linkMicPkStartRunnable, 4000);
|
||||||
|
|
||||||
}
|
}
|
||||||
mLiveRyLinkMicPkPresenter.onEnterRoomPkStart(pkUid, pkInfo.getLongValue("pk_gift_liveuid"), pkInfo.getLongValue("pk_gift_pkuid"), pkInfo.getIntValue("pk_time"), livePKUserListBean);
|
mLiveRyLinkMicPkPresenter.onEnterRoomPkStart(pkUid, pkInfo.getLongValue("pk_gift_liveuid"), pkInfo.getLongValue("pk_gift_pkuid"), pkInfo.getIntValue("pk_time"), livePKUserListBean);
|
||||||
|
Loading…
Reference in New Issue
Block a user