Hello guys, I'd appreciate some help from some more experienced Xamarin developers. I've worked quiet alot in wpf before, but this is my first big Xamarin project and I need a good base structure for navigating pages and subviews in it.
What I need to do
- Have a way to navigate in the top or bottom view of the application (top covers 30% and the bottom covers about 70% of the screen) and change content depending on the user actions. I.e. the top part of the screen might show a picture or a map with GPS or switch between, while the bottom part shows information regarding the map and can change to another view to show more specific information and so on. Basically both the top and the bottom need to be able to change subviews.
I'd like an easy way to navigating subviews in a dynamic way.
My thoughts so far.
- One way I was thinking is to make something more custom as a BaseMainPage, which holds a grid that splits the screen like I want it. Then I just change the content of the grid depending on user action. The problem as I see it is that I will need to write my own navigation for this and keep track of stuff.
- The other way to use the NavigationPage to simply switch the whole page each time, both the top and the bottom. But I dont wanna create a new map object each time, so to avoid this, I think this is a pretty bad option. Or can I get around this, reusing the same map somehow?