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

Registering the TwitterSignInPage within the App.xaml class

Now that we have successfully updated each of our ViewModels and ContentPages to take advantage of our TwitterSignInPage and our TwitterWebService, our next step is to make additional changes within our OnStart method in order to register our TwitterSignInPage and TwitterSignInPageViewModel within our NavigationService. We are doing this so that we can navigate between each of our ViewModels.

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

  1. Locate and open the App.xaml.cs file, which is located in the TrackMyWalks project folder, ensuring that it is displayed within the code editor, and enter the following highlighted code sections:
    //    //  App.xaml.cs // Main ...

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