<commit_before>﻿<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
    x:Class="ZumoQuickstart.TodoListPage"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    Title="{Binding Title}">
    <ContentPage.ToolbarItems>
        <ToolbarItem Command="{Binding RefreshItemsCommand}" IconImageSource="refresh.png" />
    </ContentPage.ToolbarItems>
    <ContentPage.Content>
        <StackLayout
            AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
            AbsoluteLayout.LayoutFlags="All"
            BackgroundColor="Azure">
            <ActivityIndicator
                HeightRequest="4"
                IsRunning="{Binding IsRefreshing}"
                IsVisible="{Binding IsRefreshing}"
                Color="Red" />
            <!--  The list of items  -->
            <ListView
                IsPullToRefreshEnabled="True"
                IsRefreshing="{Binding IsRefreshing}"
                ItemTapped="OnListItemTapped"
                ItemsSource="{Binding Items}"
                RefreshCommand="{Binding RefreshItemsCommand}">
                <ListView.ItemTemplate>
                    <DataTemplate>
                        <ViewCell>
                            <StackLayout Padding="10,5,10,5" Orientation="Horizontal">
                                <Label Style="{StaticResource listItemTitle}" Text="{Binding Text}" />
                                <Image IsVisible="{Binding Complete}" Style="{StaticResource listItemIcon}" />
                            </StackLayout>
                        </ViewCell>
                    </DataTemplate>
                </ListView.ItemTemplate>
            </ListView>

            <!--  The Add Item control  -->
            <Frame HorizontalOptions="FillAndExpand" Style="{StaticResource roundedCorners}">
                <StackLayout Padding="0" Orientation="Horizontal">
                    <Image Style="{StaticResource addItemIcon}" />
                    <Entry
                        x:Name="addItemEntry"
                        MaxLength="200"
                        Placeholder="Add New Item"
                        ReturnCommand="{Binding AddItemCommand}"
                        ReturnCommandParameter="{Binding Source={x:Reference addItemEntry}}" />
                </StackLayout>
            </Frame>
        </StackLayout><commit_msg>Added x:DataType to solve warnings when debugging UWP (#298)<commit_after>﻿<?xml version="1.0" encoding="utf-8" ?>
<ContentPage
    x:Class="ZumoQuickstart.TodoListPage"
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:local="clr-namespace:ZumoQuickstart"
    Title="{Binding Title}">
    <ContentPage.ToolbarItems>
        <ToolbarItem Command="{Binding RefreshItemsCommand}" IconImageSource="refresh.png" />
    </ContentPage.ToolbarItems>
    <ContentPage.Content>
        <StackLayout
            AbsoluteLayout.LayoutBounds="0, 0, 1, 1"
            AbsoluteLayout.LayoutFlags="All"
            BackgroundColor="Azure">
            <ActivityIndicator
                HeightRequest="4"
                IsRunning="{Binding IsRefreshing}"
                IsVisible="{Binding IsRefreshing}"
                Color="Red" />
            <!--  The list of items  -->
            <ListView
                IsPullToRefreshEnabled="True"
                IsRefreshing="{Binding IsRefreshing}"
                ItemTapped="OnListItemTapped"
                ItemsSource="{Binding Items}"
                RefreshCommand="{Binding RefreshItemsCommand}">
                <ListView.ItemTemplate>
                    <DataTemplate x:DataType="local:TodoItem">
                        <ViewCell>
                            <StackLayout Padding="10,5,10,5" Orientation="Horizontal">
                                <Label Style="{StaticResource listItemTitle}" Text="{Binding Text}" />
                                <Image IsVisible="{Binding Complete}" Style="{StaticResource listItemIcon}" />
                            </StackLayout>
                        </ViewCell>
                    </DataTemplate>
                </ListView.ItemTemplate>
            </ListView>

            <!--  The Add Item control  -->
            <Frame HorizontalOptions="FillAndExpand" Style="{StaticResource roundedCorners}">
                <StackLayout Padding="0" Orientation="Horizontal">
                    <Image Style="{StaticResource addItemIcon}" />
                    <Entry
                        x:Name="addItemEntry"
                        MaxLength="200"
                        Placeholder="Add New Item"
                        ReturnCommand="{Binding AddItemCommand}"
                        ReturnCommandParameter="{Binding Source={x:Reference addItemEntry}}" />
                </StackLayout>
            </Frame>
        </StackLayout>
{'fraction_non_alphanumeric': 0.11204424416222859, 'fraction_numerical': 0.011265874641540352, 'mean_word_length': 1.682967032967033, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 2, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4265101', 'n_tokens_mistral': 1264, 'n_tokens_neox': 1124, 'n_words': 193}