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:
- First, create a new class file within the
WalksPageViewModel, as you did in the previous section, entitled Creating the WalkBaseViewModel located within this chapter. ...