Forum Xamarin.Forms

Right design/architecture to implement App-general navigation menu

fsulserfsulser Member ✭✭

I want to implement an App-wide navigation menu with the SfNavigationDrawer.

Now I was wondering what would be the right way. Should I do this by implementing a custom ContentPage that will be used in the app as the basis for all ContentPage and avoid using ContentPages, or should I implement a solution using a ControlTemplate?
As I'm not that used to Xamarin I was wondering what the right pattern would be?
I also realized that if I implement the solution using ControlTemplate and want to have a clickable ListView in it, I would have to have a general ViewModel that would have to be inherited by every ViewModel if the app.

What would in this case be the right design, or is it something completely different?

Best Answer

Answers

  • fsulserfsulser Member ✭✭

    Thanks a lot for the response @jezh . Looks super cool. So you would then recommend to use Shell Flyout to create a general Navigation menu for all pages?

  • jezhjezh Member, Xamarin Team Xamurai

    Since Shell application has the feature you need and benefit from an increased rendering speed, and reduced memory consumption. Why not use it? :)

Sign In or Register to comment.