Completed
Last Updated: 19 Jul 2023 14:24 by ADMIN
Release R2 2023 SP1
Mehmet
Created on: 30 May 2023 11:03
Category: ListView
Type: Bug Report
0
ListView: [iOS] An exception occurs when LoadOnDemandMode is set to Automatic and there are no items initially in the collection

Exception occurs when there are no items in the collection and load on demand mode is automatic: 

public ViewModel()
{
    this.Source = new ObservableCollection<string>();
    //for (int i = 0; i < 14; i++)
    //{
    //    this.Source.Add(string.Format("Item {0}", i));
    //}
    this.LoadItemsCommand = new Command(this.LoadItemsCommandExecute);
}

0 comments