Summary

In cross-platform projects, with or without Xamarin.Forms, it is advisable to maintain the View elements as thin and devoid of static and/or sharable elements as possible. As discussed in this chapter, each Xamarin target platform supports resource and asset management in particular ways. These methodologies can be expanded to share static resources between the platform-specific projects by using linked resources and/or using special build techniques.

Architectural patterns, imposed by the platform or otherwise, can also be employed either at the beginning of the project or as the project matures through iterations. MVC and MVVM, as well as MVP, patterns help reduce the sharable logic components on the View, creating a more loosely-coupled ...

Get Xamarin: Cross-Platform Mobile Application Development 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.