Open mleone20 opened 1 year ago
Binding the FlowTotalRecords doesn't trigger the first FlowLoadingCommand.
This works:
<flv:FlowListView x:Name="flowListView" FlowColumnCount="2" SeparatorVisibility="None" HasUnevenRows="true" FlowColumnMinWidth="160" FlowItemsSource="{Binding Items}" FlowIsLoadingInfinite="{Binding IsBusy}" FlowTotalRecords="50" FlowLoadingCommand="{Binding LoadingCommand}" FlowIsLoadingInfiniteEnabled="true">
and this not:
<flv:FlowListView x:Name="flowListView" FlowColumnCount="2" SeparatorVisibility="None" HasUnevenRows="true" FlowColumnMinWidth="160" FlowItemsSource="{Binding Items}" FlowIsLoadingInfinite="{Binding IsBusy}" FlowTotalRecords="{Binding TotalRecords}" FlowLoadingCommand="{Binding LoadingCommand}" FlowIsLoadingInfiniteEnabled="true">
The binding context:
public int TotalRecords { get => totalRecords; set => SetProperty<int>(ref totalRecords, value); } private int totalRecords = 50;
Binding the FlowTotalRecords doesn't trigger the first FlowLoadingCommand.
This works:
and this not:
The binding context: