I'm trying to bind a big collection in MainViewModel as follows (example: clients{fullname, saleorders, ...}) :
internal Class MainViewModel : ViewModelBase{
private ObservableCollection<Client> _clients;
public ObservableCollection<clients> Clients
{
get{ return _clients;}
set
{
_clients = value;
RaisePropertyChanged("Clients");
}
}
}
Then in the XAML code, I have a ListView with modified itemTemplate and PanelTemplate. I made a card for each client (as a control).
<ListView ItemsSource="{Binding Clients, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}">
...
</ListView>
The problem is that my UI does not appear until the full client's card is loaded. This operation takes a long time, but I want to see the loading operation card by card at realtime. What I should do? Please help me, thanks.