Creating and implementing our data model

In this section, we will take a look at how to create the data model that will be used to define information that's related to our trail entries. The advantage of creating a data model is that it is much easier to add additional properties to this model, and then implement these in the relevant class files.

Another advantage of using a data model is that you can bind this model to a database or bind this to data that's stored within a Microsoft Azure database. As we progress through this chapter, you'll see how you can use this model to set up and initialize walk entries for our TrackMyWalks page using a ListView control to display trail information for each row contained within the ListView.

Let's ...

Get Mastering Xamarin UI Development - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.