-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
- Create app with root frame:
<Frame defaultPage="home/tab-page"></Frame>- Default page of the frame should contain a navigation button to a different page and a tabview component whose tab items contain Frames:
<Page class="page"
xmlns="http://schemas.nativescript.org/tns.xsd">
<GridLayout rows="auto, *">
<Button text="navigate to second page" tap="onTap" />
<TabView androidTabsPosition="bottom" row="1">
<TabViewItem title="Home">
<Frame defaultPage="home/home-items-page"></Frame>
</TabViewItem>
<TabViewItem title="Browse">
<Frame defaultPage="browse/browse-page"></Frame>
</TabViewItem>
</TabView>
</GridLayout>
</Page>- Navigate to second page (via the button) and navigate back to the tabview page (e.g. via hardware button, doesn't matter really)
The following exception occurs:
System.err: Calling js method finishUpdate failed
System.err:
System.err: Error: java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
triniwiz