Prism Uno Samples #5123
-
Hello, I'm Xamarin.Forms developer and earlier was WPF dev. So, on WPF and Xamarin.Forms I worked with Prism as MVVM framework. I saw that Prism now supports Uno and I want to try this framework, but I'm new to UWP. I know how Prism's regions work, but I have doubts about Android's and UWP's hardware back button together with Prism's region navigation and how it is implemented within Uno. I know that in UWP and Uno navigation made using Pages but in Prism it's made by UserControls and here I'm dissapointed. Also, I have question about MVVMCross and Uno and when it will be implemented? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi Alex, Currently, the Prism implementation for Uno is based on the WPF behavior, where there's no "back" navigation available as it is mostly meant for desktop applications. We have not yet gone through implementating a navigation service that is similar to the one found for Xamarin.Forms, but I'm pretty sure the Prism team would be happy to have contributions for Uno and UWP/WinUI. With regards to back navigation, apps can use |
Beta Was this translation helpful? Give feedback.
-
The Uno Contoso sample app (an Uno port of the UWP Contoso app from Microsoft) uses Prism. The code is here: https://github.com/unoplatform/Uno.Samples/tree/master/UI/UnoContoso and there's a blog post with some more info here: https://platform.uno/blog/porting-the-contoso-uwp-showcase-application-to-uno-platform/ |
Beta Was this translation helpful? Give feedback.
The Uno Contoso sample app (an Uno port of the UWP Contoso app from Microsoft) uses Prism.
The code is here: https://github.com/unoplatform/Uno.Samples/tree/master/UI/UnoContoso
and there's a blog post with some more info here: https://platform.uno/blog/porting-the-contoso-uwp-showcase-application-to-uno-platform/