I'm trying to implement a UI in my NativeScript app, where the app has 2 tabs, with each tab having a navigation stack of its own. A similar pattern is seen in some apps, such as the Photos app. Here is a demonstration:
Is that possible with NativeScript? With the following code (Angular 2), I end up with a single navigation bar shared across both tabs. Only the second one (title Nearby) is kept:
<TabView>
<StackLayout *tabItem="{ title: 'Home' }">
<ActionBar title="Home"></ActionBar>
<mp-home></mp-home>
</StackLayout>
<StackLayout *tabItem="{ title: 'Nearby' }">
<ActionBar title="Nearby"></ActionBar>
<Label text="Placeholder for Nearby"></Label>
</StackLayout>
</TabView>
