<?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="XamFormsMVVM.Views.ContactListPage" Title="Kontakty">

  <ListView ItemsSource="{Binding Contacts}"  ItemSelected="HandleItemSelected">
    <ListView.ItemTemplate>
      <DataTemplate>
        <TextCell Text="{Binding FullName}"
                  Detail="{Binding Profession}">
        </TextCell>
      </DataTemplate>
    </ListView.ItemTemplate>
  </ListView>

</ContentPage>