((ViewGroup) parent).removeView(VideoView),这个过程非常卡顿
2.
ViewParent parent = mVideoView.getParent();
if (parent instanceof ViewGroup) {
((ViewGroup) parent).removeView(mVideoView);
}
}
随着播放时间越长,执行romove时卡顿越明显。
((ViewGroup) parent).removeView(VideoView),这个过程非常卡顿
2.
ViewParent parent = mVideoView.getParent();
if (parent instanceof ViewGroup) {
((ViewGroup) parent).removeView(mVideoView);
}
}
随着播放时间越长,执行romove时卡顿越明显。
15 回答8.4k 阅读
8 回答6.2k 阅读
1 回答4.1k 阅读✓ 已解决
3 回答2.2k 阅读✓ 已解决
2 回答3.1k 阅读
2 回答3.8k 阅读
3 回答1.7k 阅读✓ 已解决