Summary

In this chapter, we created a service that extends the default Xamarin.Forms navigation API to enable ViewModel-centric navigation, enforcing a better separation between the presentation layer and the business logic in ViewModels.

In Chapter 4, Platform Specific Services and Dependency Injection, we're going to create some additional services that abstract platform-specific APIs and replace the Xamarin.Forms DependencyService with a more flexible IoC and dependency injection alternative.

Get Mastering Xamarin.Forms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.