I have a view with as root item a TabbedPage. To this TabbedPage I add multiple children (the tabs) but nested in a Navigation page. (so each tab will contain its own navigation hierarchy, so the tabs will be displayed always) The code for this looks like this:
this.Children.Add(new NavigationPage(new MyViewList()))
The problem comes when I want to show a page that is not a tab (in my case a Search button in the toolbar). So I want to click on the toolbaritem and show a new page (the tabs do not need to be visible there) with a back button which brings you back to the TabbedPage view. For this it is needed that the TabbedPage is also in a NavigationPage which allows you to push and pop screens, to view other pages.
So I did this, but the UI cannot handle this (two toolbars nested because of the two navigation pages nested) which makes sense. After that I was stuck, because I cannot find another solution for this problem.
What I basically want is to show a new screen from a tabbed page (which contains navigation pages as children) which allows the user to go back in the normal way (so on iOS by showing a back button in the left top corner). So solutions where I need to set Application.Current.MainPage to a new screen will not be possible I think.
Do any of you have a solution for this?
Thanks in advance!