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

MVVM with Xamarin Forms (PCL), MasterDetailPage, Overlay Popups

$
0
0

Hi,

I'm still struggling finding out what's the best approach to start a State-of-the-Art multi plattform app for iOS and Android using Xamarin Forms with MVVM pattern a MasterDetailPage navigation (and the ability to show overlay popups above the current view (less important)).

I started with code behind files and a XAML definitions as shown in most of the tutorials. Then I read some stuff about MVVM and I inserted a ViewModel while removing the logic from the code behind file. Then I got problems with my navigation and PushAsync and I moved that to the App.xaml.cs. I added an interface called IPageLifeCycleEvents to get OnAppearing and OnDisappearing...

Now I started to follow some tutorials with MVVM Lite and Prism to use some helping libraries to get a clean MVVM structure. How about FreshMvvm and MVVM Cross?

But I still need a "Pro" hint, how to move on or how to start in general. What's the way to go? Is there a proper uptodate example with all that techniques used? I'm kinda confused.

Thanks for your help.

Carsten

PS:
And yes I read this:
https://forums.xamarin.com/discussion/47444/best-practice-mvvm-navigation-using-master-detail-page


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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