I am trying out the trial version and it is giving the expected message about purchasing the controls. That is not the problem. The problem is that nothing is rendering at all for Android.
My code is very simple:
c#:
propertyList = new ObservableCollection<
Property
>() {
new Property(){
ImageUrl = "camera.png",
Address = "Address1",
CombinedAddress = "City1, state1",
CombinedNumbers = "numbers1",
AtomId = 1
},
new Property(){
ImageUrl = "profile.png",
Address = "Address2",
CombinedAddress = "City2, state2",
CombinedNumbers = "numbers2",
AtomId = 2
},
new Property(){
ImageUrl = "redheart.png",
Address = "Address3",
CombinedAddress = "City3, state3",
CombinedNumbers = "numbers3",
AtomId = 3
}
};
listView.ItemsSource = propertyList;
XAML:
<
StackLayout
x:Name
=
"List"
Orientation
=
"Vertical"
Spacing
=
"20"
Margin
=
"30,0,30,0"
>
<
telerikDataControls:RadListView
x:Name
=
"listView"
SwipeOffset
=
"70, 0, 0, 0"
SwipeThreshold
=
"10"
>
<
telerikDataControls:RadListView.ItemTemplate
>
<
DataTemplate
>
<
telerikListView:ListViewTemplateCell
>
<
telerikListView:ListViewTemplateCell.View
>
<
StackLayout
Orientation
=
"Vertical"
>
<
Label
Margin
=
"10,10,10,0"
FontAttributes
=
"Bold"
FontSize
=
"16"
Text
=
"{Binding Address}"
TextColor
=
"Black"
/>
<
Label
Grid.Row
=
"1"
Margin
=
"10,0,10,10"
FontAttributes
=
"Italic"
FontSize
=
"13"
Text
=
"{Binding CombinedAddress}"
TextColor
=
"Gray"
/>
</
StackLayout
>
</
telerikListView:ListViewTemplateCell.View
>
</
telerikListView:ListViewTemplateCell
>
</
DataTemplate
>
</
telerikDataControls:RadListView.ItemTemplate
>
</
telerikDataControls:RadListView
>
</
StackLayout
>