fix[修复融云直播间,上下滑动闪退问题]
This commit is contained in:
parent
efce2ad93c
commit
985e626cb5
@ -670,9 +670,12 @@ 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);
|
||||
System.out.println(" changeToBig changeToBig changeToBig"+mLoading.getParent());
|
||||
if(mLoading.getParent()!=mRoot){
|
||||
mRoot.addView(mLoading);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onResume() {
|
||||
|
Loading…
Reference in New Issue
Block a user