Summary
In this chapter, we took a deep dive into the architectural aspects of implementing a Xamarin application and set up the foundation for an MVVM application. To demonstrate the implementation of different presentation architectures, we implemented the login view using both the MVC and MVVM patterns. As you have seen, while both of these patterns can be used with Xamarin.Forms applications, each have a different take on the interaction between the view and the controller, and each have advantages and shortcomings. Additionally, other patterns such as MVU and Flux can provide further improvements to the maintainability of your project. We also briefly browsed through several other patterns that we might need in order to implement Xamarin applications. You should now be able to create a Xamarin.Forms application from scratch, as well as set up the boilerplate solution for your next project with a proper application infrastructure and architecture.
In the next chapter, we will...