fix(core): android fix for tabview error on unload

This commit is contained in:
Martin Guillon
2022-01-30 14:18:39 +01:00
parent c2c9f73e76
commit eca1a21c4b

View File

@@ -553,9 +553,10 @@ export class TabView extends TabViewBase {
}
public onUnloaded(): void {
super.onUnloaded();
// clear fragments before calling super to ensure the fragmentManager is the
// same as the one used during item instantiation
this.setAdapterItems(null);
super.onUnloaded();
}
public disposeNativeView() {