避免重复inflate布局

This commit is contained in:
wangcongtao
2020-08-31 09:56:45 +08:00
parent 812cb7d6d9
commit e8269f4131

View File

@@ -41,7 +41,6 @@ public abstract class MvpFragment<V extends IView, P extends Presenter<V>> exten
viewGroup.removeView( mRootView );
}
}
mRootView = inflater.inflate(getLayoutId(), container, false);
return mRootView;
}