主播端展示天梯赛信息

This commit is contained in:
Martin 2024-07-29 13:45:24 +08:00
parent b37d278ae4
commit 60e82fa8e4
3 changed files with 9 additions and 0 deletions

View File

@ -883,6 +883,9 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
if(mLiveRoomViewHolder!=null){
mLiveRoomViewHolder.initPrankProgress(2);
mLiveRoomViewHolder.sendMsgPrank();
//初始化天梯数据
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
}
}

View File

@ -877,6 +877,9 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
if(mLiveRoomViewHolder!=null){
mLiveRoomViewHolder.initPrankProgress(2);
mLiveRoomViewHolder.sendMsgPrank();
//初始化天梯数据
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
}
mLiveSwLinkMicPkPresenter.setmLiveRoomViewHolder(mLiveRoomViewHolder);
}

View File

@ -815,6 +815,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
upDataPkScore(pkInfo.getJSONArray("userlist"), pkInfo.getIntValue("drpk_time"));
isShowPrank = false;
}else{
//初始化天梯赛数据(不在pk过程中)
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
}
if (data.getEnterRoomInfo().getGuard() != null) {
if (mLiveRoomViewHolder != null) {