O'Reilly logo

Mastering Xamarin UI Development - Second Edition 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

Updating the WalksMainPageViewModel to use our property

Now that we have updated our BaseViewModel class, which includes our IsProcessBusy property, which will in turn be used and inherited by each of the ViewModels that we create, we can start updating the WalksMainPageViewModel class, so that it can use our IsProcessBusy property whenever we populate data in our ListView.

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

  1. Locate and open the WalksMainPageViewModel.cs class, ensure that it is displayed in the code editor, and enter the following highlighted code sections:
    //    //  WalksMainPageViewModel.cs    //  The ViewModel for our WalksMainPage ContentPage    //    //  Created by Steven F. Daniel on 5/06/2018. // Copyright ...

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