Creating the view for the list of customers

In NorthwindMobile, open CustomersList.xaml, and modify its contents, as shown in the following markup:

<?xml version="1.0" encoding="UTF-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="NorthwindMobile.Views.CustomersList" Title="List"> <ContentPage.Content> <ListView ItemsSource="{Binding .}" VerticalOptions="Center" HorizontalOptions="Center" IsPullToRefreshEnabled="True" ItemTapped="Customer_Tapped" Refreshing="Customers_Refreshing"> <ListView.Header> <Label Text="Northwind Customers" BackgroundColor="Silver" /> </ListView.Header> <ListView.ItemTemplate> <DataTemplate> <TextCell Text="{Binding CompanyName}" Detail="{Binding ...

Get C# 7.1 and .NET Core 2.0 – Modern Cross-Platform Development - Third 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.