mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix(frame-android): IllegalStateException: The specified child already has a parent (#7948)
This commit is contained in:
@@ -902,7 +902,7 @@ class FragmentCallbacksImplementation implements AndroidFragmentCallbacks {
|
||||
parentView.addViewInLayout(nativeView, -1, new org.nativescript.widgets.CommonLayoutParams());
|
||||
}
|
||||
|
||||
parentView.removeView(nativeView);
|
||||
parentView.removeAllViews();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user