用户端多人PK 修改结束后PK问题不结束问题
This commit is contained in:
parent
11e809a978
commit
8f58c485c8
@ -556,8 +556,18 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
|||||||
params.addRule(RelativeLayout.ALIGN_TOP);
|
params.addRule(RelativeLayout.ALIGN_TOP);
|
||||||
mVideoView.requestLayout();
|
mVideoView.requestLayout();
|
||||||
}
|
}
|
||||||
|
if (detailsView != null) {
|
||||||
|
mVideoView.removeView(detailsView);
|
||||||
|
detailsView = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void removeDetailView(){
|
||||||
|
if (detailsView != null) {
|
||||||
|
mVideoView.removeView(detailsView);
|
||||||
|
detailsView = null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public ViewGroup getSmallContainer() {
|
public ViewGroup getSmallContainer() {
|
||||||
|
@ -317,6 +317,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
|||||||
mask.setVisibility(View.VISIBLE);
|
mask.setVisibility(View.VISIBLE);
|
||||||
mLivePlayViewHolder.clearFrame();
|
mLivePlayViewHolder.clearFrame();
|
||||||
mLivePlayViewHolder.setLiveBean(mLiveBean);
|
mLivePlayViewHolder.setLiveBean(mLiveBean);
|
||||||
|
mLivePlayViewHolder.removeDetailView();
|
||||||
mLivePlayViewHolder.setCover(mLiveBean.getAvatar());
|
mLivePlayViewHolder.setCover(mLiveBean.getAvatar());
|
||||||
mLivePlayViewHolder.setLiveBeanLandscape(mLiveBean.getLandscape());
|
mLivePlayViewHolder.setLiveBeanLandscape(mLiveBean.getLandscape());
|
||||||
//mLivePlayViewHolder.play(mLiveBean.getPull(), LiveRoomPlayViewHolder.PLAY_MODEL_DEF);
|
//mLivePlayViewHolder.play(mLiveBean.getPull(), LiveRoomPlayViewHolder.PLAY_MODEL_DEF);
|
||||||
|
Loading…
Reference in New Issue
Block a user