fix(frame-android): IllegalStateException: The specified child already has a parent (#7948)

This commit is contained in:
Manol Donev
2019-10-15 11:28:53 +03:00
committed by GitHub
parent b377eb6ddb
commit ff30c4861f

View File

@@ -902,7 +902,7 @@ class FragmentCallbacksImplementation implements AndroidFragmentCallbacks {
parentView.addViewInLayout(nativeView, -1, new org.nativescript.widgets.CommonLayoutParams());
}
parentView.removeView(nativeView);
parentView.removeAllViews();
}
}