碎片嵌套,出现的bug
if (view != null) {
ViewGroup parent = (ViewGroup) view.getParent();
if (parent != null)
parent.removeView(view);
}
try {
view = inflater.inflate(R.layout.book_race_content, container, false);
碎片嵌套,再次返回时报错
最新推荐文章于 2024-11-17 23:48:23 发布