<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:TestDrive"
             Title="TestDrive"
             x:Class="TestDrive.Views.ListagemView">

    <StackLayout Padding="25">
        <ListView x:Name="listViewVeiculos" 
                  ItemsSource="{Binding Veiculos}"
                  ItemTapped="listViewVeiculos_ItemTapped">
            <ListView.ItemTemplate>
                <DataTemplate>
                    <ViewCell>
                        <ViewCell.View>
                            <Label FontSize="20" 
                                   FormattedText="{Binding VeiculoLabel}"></Label>
                        </ViewCell.View>
                    </ViewCell>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
    </StackLayout>
</ContentPage>