Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Best practice for Xamarin.Forms design patterns and approach for Navigation

$
0
0

I am trying to abstract away the navigation that is called into a separate manager, so I can alter the toolbar before moving onto the next page and handle a workflow scenario. I noticed that I cannot get access to the Navigation object unless I'm on a ContentPage though, so handling this in a separate location (a controller, or in this case I'm calling it a manager) appears that I'll perhaps need to pass along the navigation object in order to do so. Is there another way of abstracting away all of these calls, or perhaps I just need to inherit from something?

@adamkemp


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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