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

Remove back entry in navigationservice in the mvvm last version

Mar 3, 2015 at 9:55 AM
I need to reome the back entry in the la last mvvm light version using the INavigationService
but in the interface I can implement only the methods GoBack and NavigateTo.
How I can solve this problem using the framework?

Mar 3, 2015 at 10:02 AM

You are right, this feature is not available at the moment.

I would recommend declaring your own interface (which may or may not derive from INavigationService, as you wish) and implement the method yourself. I'll consider adding this feature in a future version.

Thanks for your input,
Apr 21, 2015 at 1:36 PM
Implement a custom NavigationService that receives a bool ClearBackstack parameter in each page configuration, checking it in the NavigateTo method implementation.
Apr 29, 2015 at 11:07 AM
Hi Laurent,,

I was following your sample Flowers on Xamarin.Forms and was going through implementation of NavigationService.In my Xamarin.forms application , in one of my ViewModel I need to use PushModalAsync/PopModalAsync for navigation. But the current implementation of NavigationService only use PushAsync/PopAsync.

So how can I implement INavigationService in order to make use of PushModalAsync/PopModalAsync for navigation.