Mastering Xamarin.Forms build rich, maintainable multiplatform native mobile apps with Xamarin.Forms
Build rich, maintainable multiplatform native mobile apps with Xamarin.Forms About This Book Build an effective mobile app architecture with the Xamarin.Forms toolkit Maximize the testability, flexibility, and overall quality of your Xamarin.Forms mobile app This step-by-step tutorial is packed with...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing
2016.
|
Edición: | 1st edition |
Colección: | Community experience distilled.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630212106719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; Acknowledgments; About the Reviewers; www.PacktPub.com; 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; Running the app; 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
- SummaryChapter 3: Navigation Service; The Xamarin.Forms navigation API; Navigation and MVVM; ViewModel-centric navigation; Creating a navigation service; Updating the TripLog app; Updating BaseViewModel; Updating MainViewModel; Updating NewEntryViewModel; Updating DetailPage; Summary; Chapter 4: Platform Specific Services and Dependency Injection; Inversion of control and dependency injection in mobile apps; The 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; Summary; Chapter 6: API Data Access
- Creating an API with Microsoft Azure App ServicesBrowsing 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 Xamarin Studio; Automated UI testing
- The Xamarin UITest frameworkCommon UITest methods; Creating a UITest project in Xamarin Studio; Initializing the TripLog app for UITest; Testing views; Running UI tests; Running UI tests locally; Running UI tests in Xamarin Test Cloud; Summary; Chapter 9: App Analytics; Mobile app analytics and crash reporting; Xamarin Insights; Setting up Xamarin Insights; Creating an analytics service; Tracking exceptions and events; Summary; Index