6.8.0:天梯赛数据不显示bug修复
This commit is contained in:
parent
79c730c1b7
commit
6af48002bb
@ -879,10 +879,14 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
getAiRobotStatus();
|
||||
MicedUserManager.get().removeAllMicUserList();
|
||||
MicUserManager.get().removeAllMicUserList();
|
||||
//加载整蛊
|
||||
|
||||
if(mLiveRoomViewHolder!=null){
|
||||
//加载整蛊
|
||||
mLiveRoomViewHolder.initPrankProgress(2);
|
||||
mLiveRoomViewHolder.sendMsgPrank();
|
||||
|
||||
//初始化天梯数据
|
||||
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -874,10 +874,14 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
|
||||
getAiRobotStatus();
|
||||
MicedUserManager.get().removeAllMicUserList();
|
||||
MicUserManager.get().removeAllMicUserList();
|
||||
//加载整蛊
|
||||
|
||||
if(mLiveRoomViewHolder!=null){
|
||||
//加载整蛊
|
||||
mLiveRoomViewHolder.initPrankProgress(2);
|
||||
mLiveRoomViewHolder.sendMsgPrank();
|
||||
|
||||
//初始化天梯数据
|
||||
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
|
||||
}
|
||||
mLiveSwLinkMicPkPresenter.setmLiveRoomViewHolder(mLiveRoomViewHolder);
|
||||
}
|
||||
|
@ -2887,10 +2887,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
}
|
||||
|
||||
private void initPkRankView(PkRankBean bean) {
|
||||
|
||||
if (pkRankVf.getTag() != null) {
|
||||
return;
|
||||
}
|
||||
//因为需要初始化就设置值,所以不设置tag,可以更新数据
|
||||
// if (pkRankVf.getTag() != null) {
|
||||
// return;
|
||||
// }
|
||||
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(DpUtil.dp2px(20), DpUtil.dp2px(22));
|
||||
LinearLayout.LayoutParams textParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||
params.leftMargin = DpUtil.dp2px(3);
|
||||
|
@ -816,6 +816,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) {
|
||||
@ -902,6 +905,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
}
|
||||
//初始化整蠱列表
|
||||
mLiveRoomViewHolder.initPrankProgress(isShowPrank?1:2);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user