<?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="Samples.RefreshListView">
    <ContentPage.Content>
        <StackLayout>
            <ListView
                x:Name="list"
                ItemsSource="{Binding Data}"
                HeightRequest="200">
                <ListView.ItemTemplate>
                    <DataTemplate>
                        <ViewCell>
                            <Label
                                Text="{Binding .}" />
                        </ViewCell>
                    </DataTemplate>
                </ListView.ItemTemplate>
            </ListView>
            <StackLayout>
                <Entry
                    Text="{Binding Input}" />
                <Button
                    Text="Add Item"
                    Command="{Binding AddCmd}"
                Clicked="Handle_Clicked"/>
            </StackLayout>
        </StackLayout>
    </ContentPage.Content>
</ContentPage>
