Mastering Xamarin.Forms, 2nd Edition

Mastering Xamarin.Forms, 2nd Edition

English | 2018 | ISBN: 978-1788290265 | 192 Pages | EPUB | 11 MB

Create high-quality multi-platform native apps with Xamarin.Forms
Discover how to extend and build upon the components of the Xamarin.Forms toolkit to develop an effective, robust mobile app architecture. Starting with an app built with the basics of the Xamarin.Forms toolkit, you’ll go step by step through several advanced topics to create a solution architecture rich with the benefits of good design patterns and best practices.
You’ll start by introducing a core separation between the app’s user interface and its business logic by applying the MVVM pattern and data-binding. Then you focus on building out a layer of plugin-like services that handle platform-specific utilities such as navigation and geo-location, and on how to loosely use these services in the app with inversion of control and dependency injection. Next you connect the app to a live web-based API and set up offline synchronization. Then, you delve into testing the app logic through unit tests. Finally, you set up Visual Studio App Center for monitoring usage and bugs to gain a proactive edge on app quality.
What You Will Learn

  • Implement the Model-View-View-Model (MVVM) pattern and data-binding in Xamarin.Forms mobile apps
  • Extend the Xamarin.Forms navigation API with a custom ViewModel-centric navigation service
  • Leverage the inversion of control and dependency injection patterns in Xamarin.Forms mobile apps
  • Work with online and offline data in Xamarin.Forms mobile apps
  • Test business logic in Xamarin.Forms mobile apps
  • Use platform-specific APIs to build rich custom user interfaces in Xamarin.Forms mobile apps
  • Explore how to improve mobile app quality using Visual Studio AppCenter
Homepage