O'Reilly logo

Mastering Xamarin UI Development by Steven F. Daniel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing the WalksPageViewModel

In the previous section, we built our base class ViewModel for our TrackMyWalks application. This will act as the main class that will allow our View or pages to be notified whenever changes to properties within the ViewModel have been made.

In this section, we will need to begin building the ViewModel for our WalksPage. This model will be used to store the WalkEntries, which will later be used and displayed within the ListView on the WalksPage content page.

Let's take a look at how we can achieve this by following these steps:

  1. First, create a new class file within the ViewModels folder called WalksPageViewModel, as you did in the previous section, entitled Creating the WalkBaseViewModel located within this chapter. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required