fix[修复融云直播间,上下滑动闪退问题]

This commit is contained in:
Martin 2024-06-01 17:31:01 +08:00
parent efce2ad93c
commit 985e626cb5

View File

@ -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() {