修复直播间PK时滑动到下一个PK直播间,会残留pk条观众头像问题

This commit is contained in:
zlzw 2023-02-07 17:04:51 +08:00
parent cd0067d77b
commit a808cd13c0

View File

@ -256,6 +256,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
public synchronized void onAdd(LiveBean data, int liveType, int liveTypeVal, int liveSdk) { public synchronized void onAdd(LiveBean data, int liveType, int liveTypeVal, int liveSdk) {
isEnterRoom = false; isEnterRoom = false;
openParametersModel = new OpenParametersModel(); openParametersModel = new OpenParametersModel();
if(mLiveRoomViewHolder!=null){
mLiveRoomViewHolder.UpPkTwo();
}
mContext.runOnUiThread(new Runnable() { mContext.runOnUiThread(new Runnable() {
@Override @Override