I have this layout in my ContentView
<ContentView.Content>
<xForms:SfListView x:Name="OrderHistoryListView" ItemsSource="{Binding OrderHistory}"
ItemSize="100">
<xForms:SfListView.ItemTemplate>
<DataTemplate>
<Grid Padding="10">
<Grid.RowDefinitions>
<RowDefinition Height="0.4*" />
<RowDefinition Height="0.6*" />
</Grid.RowDefinitions>
<Label Text="{Binding LocationName}" FontAttributes="Bold" TextColor="Teal" FontSize="21" />
<Label Grid.Row="1" Text="{Binding OrderDate}" TextColor="Teal" FontSize="15"/>
</Grid>
</DataTemplate>
</xForms:SfListView.ItemTemplate>
</xForms:SfListView>
</ContentView.Content>
and in the code behind I set the BindingContext
public OrderHistoryView (OrderHistoryViewModel viewModel)
{
InitializeComponent ();
BindingContext = viewModel;
}
but when i run the app, the list never shows any content.