This project has moved and is read-only. For the latest updates, please go here.

How to update from Prism to Mvvmlight ?

Jan 13, 2015 at 3:15 PM
Edited Jan 13, 2015 at 3:20 PM

I am trying to update my previous Silverlight Prism project to Xamarin with MVVMLight support. in previous project, the ViewModel class normally declare like this.

public class FIBMainViewModel : NotificationObject, IPartImportsSatisfiedNotification, INavigationAware
   public void OnNavigatedFrom(NavigationContext navigationContext)
        //todo something when leave from the page

    public void OnNavigatedTo(NavigationContext navigationContext)
        // todo something when navigate to this view

My question is:
How to update OnNavigatedFrom and OnNavigatedTo method in MvvmLight ?

I appreciate any of your help and sample code.

Many thanks