Mastering Xamarin. Forms : Build rich, maintainable, multi-platform, native mobile apps with Xamarin. Forms, 2nd Edition.

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 archi...

Full description

Saved in:
Bibliographic Details
Main Author: Snider, Ed
Format: eBook
Language:English
Published: Birmingham : Packt Publishing, 2018.
Edition:2nd ed.
Subjects:
Online Access:Click for online access
Table of Contents:
  • Cover; Title Page; Copyright and Credits; Dedication; www.packtpub.com; Foreword; Contributors; Table of Contents; Preface; Chapter 1: Getting Started; Introducing the app idea; Defining features; Creating the initial app; Setting up the solution; Updating the Xamarin. Forms packages; Creating the main page; Creating the new entry page; Creating the entry detail page; Summary; Chapter 2: MVVM and Data Binding; Understanding the MVVM pattern; Adding MVVM to the app; Setting up the app structure; Adding ViewModels; Adding MainViewModel; Adding DetailViewModel; Adding NewEntryViewModel; Summary.
  • Chapter 3: NavigationThe Xamarin. Forms navigation API; Navigation and MVVM; The ViewModel-centric navigation; Creating a navigation service; Updating the TripLog app; Updating BaseViewModel; Updating MainViewModel; Initializing MainViewModel; Updating NewEntryViewModel; Updating DetailPage; Summary; Chapter 4: Platform Specific Services and Dependency Injection; Inversion of control and dependency injection in mobile apps; Xamarin. Forms DependencyService versus third-party alternatives; Creating and using platform-specific services; Creating a location service.
  • Using the location service on the new entry pageAdding the location service implementation; Registering dependencies; Registering the platform-service implementations; Registering the ViewModels; Registering the navigation service; Updating the TripLog app; Updating the navigation service to handle ViewModel creation and dependency injection; Summary; Chapter 5: User Interface; Custom renderers; Creating a TableView DatePicker; Value converters; Creating a reverse visibility value converter; Creating an integer to image value converter; Adding pull-to-refresh; Accessibility.
  • Supporting screen readersSummary; Chapter 6: API Data Access; Creating an API with Microsoft's Azure App Service; Browsing and adding data; Creating a base HTTP service; Creating an API data service; Updating the TripLog app ViewModels; Offline data caching; Adding the Akavache library; Maintaining an offline data cache; Summary; Chapter 7: Authentication; Adding identity and authentication to Azure Mobile Apps; Setting up permissions; Setting up an identity provider; Creating an authentication service; Adding a sign in page; Summary; Chapter 8: Testing; Unit testing; Testing ViewModels.
  • Running unit tests in Visual StudioSummary; Chapter 9: App Monitoring; Mobile app analytics and crash reporting; Visual Studio App Center; Setting up Visual Studio App Center; Creating an analytics service; Tracking exceptions and events; Summary; Other Books You May Enjoy; Index.