Welcome to the .NET MAUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the .NET MAUI, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Hi, 

if the collection which is bound to ItemsSource is updated outside of constructor, the updates are not processed to UI. 

Only the Models which are created and added to the list during constructor of the viewmodel works. 

If models are added to list after constructor for example during events, the UI is not updating.


I've attached a demo project where some models are added to collection during constructor and some are added during timer every 3 seconds to demonstrate the issue. 

The models from timer are not shown in UI. Calling PropertyChange for the collection didn't help.


Edit: I've figured out that it works if I change my collection from 

ObservableCollection<MyModel> MyModels;

to 

ObservableCollection<object> MyModels;

it works. 

Because ChangeCollection in SfRotator.cs checks 

if (this.ItemsSource is ObservableCollection<object> itemsSource1)



Thanks in advance!