<?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:ImageUriTest"
             xmlns:telerikDataControls="clr-namespace:Telerik.XamarinForms.DataControls;assembly=Telerik.XamarinForms.DataControls"
             xmlns:telerikListView="clr-namespace:Telerik.XamarinForms.DataControls.ListView;assembly=Telerik.XamarinForms.DataControls"
             x:Class="ImageUriTest.MainPage">

    <telerikDataControls:RadListView ItemsSource="{Binding VolumeList}"
                                     x:Name="listView"
                                     ItemTapped="Results_ItemTapped">
        <telerikDataControls:RadListView.ItemTemplate>
            <DataTemplate>
                <telerikListView:ListViewTemplateCell>
                    <telerikListView:ListViewTemplateCell.View>
                        <Grid>
                            <StackLayout Orientation="Horizontal"
                                         Spacing="20">
                                <Image  Source="{Binding ImageUrl}"
                                        HeightRequest="70"
                                        WidthRequest="70" />
                                <StackLayout>
                                    <Label  Text="{Binding VolumeSubject}"
                                            TextColor="Black" />
                                    <Label Text="{Binding SpeakerName}"
                                           TextColor="Gray" />
                                </StackLayout>
                            </StackLayout>
                        </Grid>
                    </telerikListView:ListViewTemplateCell.View>
                </telerikListView:ListViewTemplateCell>
            </DataTemplate>
        </telerikDataControls:RadListView.ItemTemplate>
        <telerikDataControls:RadListView.LayoutDefinition>
            <telerikListView:ListViewLinearLayout ItemLength="70" />
        </telerikDataControls:RadListView.LayoutDefinition>
    </telerikDataControls:RadListView>
</ContentPage>
