fix[修复融云直播间,上下滑动闪退问题]
This commit is contained in:
parent
efce2ad93c
commit
985e626cb5
@ -670,7 +670,10 @@ public class LivePlayRyViewHolder extends LiveRoomPlayViewHolder {
|
||||
RelativeLayout.LayoutParams params = new RelativeLayout.LayoutParams(DpUtil.dp2px(24), DpUtil.dp2px(24));
|
||||
params.addRule(RelativeLayout.CENTER_IN_PARENT);
|
||||
mLoading.setLayoutParams(params);
|
||||
mRoot.addView(mLoading);
|
||||
System.out.println(" changeToBig changeToBig changeToBig"+mLoading.getParent());
|
||||
if(mLoading.getParent()!=mRoot){
|
||||
mRoot.addView(mLoading);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user