Hello, I am using SfListView in MVVM pattern. I use grouping by custom descriptor set in Behavior OnAttachedTo().
I need to init groups collpased / expanded according to data contained. This is working perfectly during inital setup in the "listView_Loaded" event handler. But I want to achive this, when I reload the data in ViewModel and call OnPropertyChanged("FormData").
I have tried to do it in following code, but it is handling somehow of the old data, not the new one.
<code>
private void listView_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
if (e.PropertyName == "ItemsSource") { /*... collapse here */}
}
</code>