Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

MVVMCross: How do I navigate to a new viewmodel in a TabbedPage

$
0
0

Hi all,

In my app i have a TabbedPage with 4 children, so far so good.
However, when i call MvxNavigationService.Navigate, it opens the other view
over the tabbed page, making the tabbedpage invisible. Wished behaviour: When i call Navigate,
it should open the other viewmodel IN the TabbedPage.

My root tab has the following attribute:
[MvxTabbedPagePresentation(TabbedPosition.Root, WrapInNavigationPage = true, NoHistory = false)]

And all the other tab pages have the following attribute:
[MvxTabbedPagePresentation(TabbedPosition.Tab, WrapInNavigationPage = true, NoHistory = false)]

And the contentpages that i try to open have the following attribute:
[MvxContentPagePresentation(Animated = true)]

Should i change the MvxContentPagePresentation to something else?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>