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 WalkDistancePage code-behind using C#

Now that we have updated our user interface for our ContentPage using XAML, to include minor changes to our ScrollView control, as well as specify the Padding layout values for the arrangement of our child elements and specify properties for our CustomMap control, the next step is to begin updating the underlying C# code within our WalkDistancePage code-behind file in order to communicate with our WalkDistancePageViewModel. This will be used to interact with our Map control and place a pin placeholder that will contain information associated with the chosen walk trail from the ListView contained within our WalksMainPage.

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

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