修复:手机开播邀请多人PK,多人PK一轮结束后,再次多人PK,在直播间的观众无法看到第二轮的PK倒计时

This commit is contained in:
18401019693 2024-01-24 14:39:00 +08:00
parent 30b2884c46
commit 45fd56ba66

View File

@ -5143,14 +5143,13 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
detailsView.setLayoutParams(params); detailsView.setLayoutParams(params);
} }
}); });
}
if (time > 0) { if (time > 0) {
mPkTimeCount2 = time; mPkTimeCount2 = time;
drPKtIME = time; drPKtIME = time;
timeTitle.setVisibility(View.VISIBLE); timeTitle.setVisibility(View.VISIBLE);
timeTitle.post(countdownRunnable); timeTitle.post(countdownRunnable);
} }
}
Log.e("多人Pk", "upDataPkScore mPkTimeCount:" + mPkTimeCount); Log.e("多人Pk", "upDataPkScore mPkTimeCount:" + mPkTimeCount);
for (int i = 0; i < pkScores.size(); i++) { for (int i = 0; i < pkScores.size(); i++) {
JSONObject score = pkScores.getJSONObject(i); JSONObject score = pkScores.getJSONObject(i);