Applying MVVM in Xamarin.Forms 4 Applications
Learn how to create your Xamarin.Forms applications using the MVVM (View Model) pattern to create a more testable and easy-to-maintain code base.
What you'll learn
Xamarin.Forms allows developers to build Android and iOS mobile applications with a shared code-base. Because Xamarin.Forms allows sharing the UI code as well, a high level of code reuse is possible to create a more testable application, and that’s something that most enterprises look for when building mobile apps. In this course, Applying MVVM in Xamarin.Forms Applications, you’ll learn about building applications using MVVM. First, you’ll explore the pattern and the different building blocks. Then, you'll refactor a simple application to use MVVM. Next, you’ll see how to introduce common tasks into the application including navigation and showing dialogs. Finally, you’ll learn how you can make use of the MVVM pattern to allow for easier unit testing, proving the fact that MVVM-based applications are easily testable. After watching this course, you’ll have a good understanding of the concepts of MVVM as used to build testable Xamarin.Forms apps.
Table of contents
- Module Introduction 1m
- Module Introduction 1m
- Demo: A Life without MVVM 2m
- Demo: A Life without MVVM 2m
- Understanding the Concepts of MVVM 7m
- Understanding the Concepts of MVVM 7m
- Understanding the Building Blocks of the MVVM Pattern 5m
- Understanding the Building Blocks of the MVVM Pattern 5m
- Summary 1m
- Summary 1m
- Module Introduction 1m
- Module Introduction 1m
- Building the Applications Using MVVM 1m
- Demo: Creating the Model 4m
- Creating the View Model Classes 3m
- Adding a View Model Locator 1m
- Building the Applications Using MVVM 1m
- Creating the View Model Classes 3m
- Demo: Adding a View Model Locator 3m
- Demo: Creating the Model 4m
- Demo: Creating the View 4m
- Demo: Creating the View Models 6m
- Demo: Creating the View Models 6m
- Linking the View and the View Model 2m
- Summary 1m
- Demo: Creating the View 4m
- Linking the View and the View Model 2m
- Demo: Linking the View and the View Model 3m
- Demo: Linking the View and the View Model 3m
- Adding a View Model Locator 1m
- Demo: Adding a View Model Locator 3m
- Summary 1m
- Module Introduction 1m
- Module Introduction 1m
- Adding Services 2m
- Adding Services 2m
- Demo: Adding the DataService 5m
- Navigating between Screens 3m
- Demo: Adding Navigation 11m
- Demo: Adding Navigation 11m
- Communication between View Models 2m
- Communication between View Models 2m
- Demo: Adding the DataService 5m
- Demo: Using the MessagingCenter 4m
- Demo: Using the MessagingCenter 4m
- Navigating between Screens 3m
- Summary 1m
- Summary 1m