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();
|
getAiRobotStatus();
|
||||||
MicedUserManager.get().removeAllMicUserList();
|
MicedUserManager.get().removeAllMicUserList();
|
||||||
MicUserManager.get().removeAllMicUserList();
|
MicUserManager.get().removeAllMicUserList();
|
||||||
//加载整蛊
|
|
||||||
if(mLiveRoomViewHolder!=null){
|
if(mLiveRoomViewHolder!=null){
|
||||||
|
//加载整蛊
|
||||||
mLiveRoomViewHolder.initPrankProgress(2);
|
mLiveRoomViewHolder.initPrankProgress(2);
|
||||||
mLiveRoomViewHolder.sendMsgPrank();
|
mLiveRoomViewHolder.sendMsgPrank();
|
||||||
|
|
||||||
|
//初始化天梯数据
|
||||||
|
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -874,10 +874,14 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
|
|||||||
getAiRobotStatus();
|
getAiRobotStatus();
|
||||||
MicedUserManager.get().removeAllMicUserList();
|
MicedUserManager.get().removeAllMicUserList();
|
||||||
MicUserManager.get().removeAllMicUserList();
|
MicUserManager.get().removeAllMicUserList();
|
||||||
//加载整蛊
|
|
||||||
if(mLiveRoomViewHolder!=null){
|
if(mLiveRoomViewHolder!=null){
|
||||||
|
//加载整蛊
|
||||||
mLiveRoomViewHolder.initPrankProgress(2);
|
mLiveRoomViewHolder.initPrankProgress(2);
|
||||||
mLiveRoomViewHolder.sendMsgPrank();
|
mLiveRoomViewHolder.sendMsgPrank();
|
||||||
|
|
||||||
|
//初始化天梯数据
|
||||||
|
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
|
||||||
}
|
}
|
||||||
mLiveSwLinkMicPkPresenter.setmLiveRoomViewHolder(mLiveRoomViewHolder);
|
mLiveSwLinkMicPkPresenter.setmLiveRoomViewHolder(mLiveRoomViewHolder);
|
||||||
}
|
}
|
||||||
|
@ -2887,10 +2887,10 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void initPkRankView(PkRankBean bean) {
|
private void initPkRankView(PkRankBean bean) {
|
||||||
|
//因为需要初始化就设置值,所以不设置tag,可以更新数据
|
||||||
if (pkRankVf.getTag() != null) {
|
// if (pkRankVf.getTag() != null) {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
LinearLayout.LayoutParams params = new LinearLayout.LayoutParams(DpUtil.dp2px(20), DpUtil.dp2px(22));
|
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);
|
LinearLayout.LayoutParams textParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT);
|
||||||
params.leftMargin = DpUtil.dp2px(3);
|
params.leftMargin = DpUtil.dp2px(3);
|
||||||
|
@ -816,6 +816,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
|
|
||||||
upDataPkScore(pkInfo.getJSONArray("userlist"), pkInfo.getIntValue("drpk_time"));
|
upDataPkScore(pkInfo.getJSONArray("userlist"), pkInfo.getIntValue("drpk_time"));
|
||||||
isShowPrank = false;
|
isShowPrank = false;
|
||||||
|
}else {
|
||||||
|
//初始化天梯赛数据(不在pk过程中)
|
||||||
|
mLiveRoomViewHolder.initRankPKInfo(mLiveUid,"");
|
||||||
}
|
}
|
||||||
if (data.getEnterRoomInfo().getGuard() != null) {
|
if (data.getEnterRoomInfo().getGuard() != null) {
|
||||||
if (mLiveRoomViewHolder != null) {
|
if (mLiveRoomViewHolder != null) {
|
||||||
@ -902,6 +905,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
}
|
}
|
||||||
//初始化整蠱列表
|
//初始化整蠱列表
|
||||||
mLiveRoomViewHolder.initPrankProgress(isShowPrank?1:2);
|
mLiveRoomViewHolder.initPrankProgress(isShowPrank?1:2);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user