Xamarin in Action teaches you to build cross-platform mobile apps using Xamarin and C#. You'll explore all the layers of a Xamarin app, from design to deployment. By the end, you'll be able to build a quality, production-ready Xamarin app on iOS and Android from scratch with a high level of code reuse.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Rewriting the same app for iOS and Android is tedious, error-prone, and expensive. Microsoft's Xamarin drastically reduces dev time by reusing most application code—typically 70% or more. The core of your iOS and Android app is shared; you write platform-specific code only for the UI layer. And because Xamarin uses C#, your apps benefit from everything this modern language and the .NET ecosystem have to offer.
About the Book
Xamarin in Action teaches you to build cross-platform mobile apps using Xamarin and C#. You'll explore all the layers of a Xamarin app, from design to deployment. Xamarin expert Jim Bennett teaches you design practices that maximize code reuse and isolate device-specific code, making it a snap to incorporate the unique features of each OS.
- Understanding MVVM to maximize code reuse and testability
- Creating cross-platform model and UI logic layers
- Building device-specific UIs
- Unit and automated UI testing
- Preparing apps for publication with user tracking and crash analytics
About the Reader
Readers should have some experience with C#. Mobile development experience is helpful, but not assumed.
About the Author
Jim Bennett is a Xamarin MYP, Microsoft MVP, and Senior Cloud Developer Advocate at Microsoft, specializing in Xamarin mobile apps. He's a frequent speaker at events all around the world, including Xamarin user groups and Xamarin and Microsoft conferences. He regularly blogs about Xamarin development at https://jimbobbennett.io.
Table of Contents
Part 1 Getting started with Xamarin
Chapter 1 Introducing Native Cross-Platform Applications With Xamarin
Chapter 2 Hello Mvvm—Creating A Simple Cross-Platform App Using Mvvm
Chapter 3 Mvvm— The Model-View–View Model Design Pattern
Chapter 4 Hello Again, Mvvm— Understanding And Enhancing Our Simple Mvvm App
Chapter 5 What Are We (A)Waiting For? An Introduction To Multithreading For Xamarin Apps
Part 2 Building apps
Chapter 6 Designing Mvvm Cross-Platform Apps
Chapter 7 Building Cross-Platform Models
Chapter 8 Building Cross-Platform View Models
Chapter 9 Building Simple Android Views
Chapter 10 Building More Advanced Android Views
Chapter 11 Building Simple Ios Views
Chapter 12 Building More Advanced Ios Views
Part 3 From working code to the store
Chapter 13 Running Mobile Apps On Physical Devices
Chapter 14 Testing Mobile Apps Using Xamarin Uitest
Chapter 15 Using App Center To Build, Test, And Monitor Apps
Chapter 16 Deploying Apps To Beta Testers And The Stores
Appendix A UI flows and threads for SquareRt and Countr
Appendix B Using MVVM Light instead of MvvmCross