Hi Muthu,
it implements AutoFitMode="Height" but my Properties of the model doesnt implement RaisedOnPropertyChanged. Without doing it, it works in SfDataGrid, I wonder why it works for SfDataGrid and doesnt work for SfListView.
thanks,
Emil
Hi Emil,Sorry for the inconvenience caused.We have checked with the reported query “View does not refresh after modifying an item in the list” from our side. Unfortunately the reported issue does not replicate at our end. Based on the provided information we have tried to replicate the issue in our sample by loading data in OnAppearing method of a Page and replaced an list item through Button action. The item gets updated in the view as expected. We have attached the working sample for your reference and you can download it from the below link.Could you please check with the above sample? If the issue still reproduces at your end, could you please update the below details or else modify the above sample to replicate the issue?. So that we could analyze the issue better and update an appropriate solution.
- If you are updating any property value of the your underlying data, then your Model class should implement the INotifyPropertyChanged and raise the PropertyChanged for that property.
- Whether you have set AutoFitMode of SfListView as Height?
Please let us know If you require further assistance.Regards,G.Muthu Kumaran.
Hi Muthu,
after update this sample project to Xamarin Forms 2.4.0.282 and SfListView to version 15.3.0.33, the project do not compile any more.
Error message:
.../Xamarin.Android.Support.v7.AppCompat/library_project_imports/res/values-v26/values-v26.xml: Error APT0000: 1: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'. (APT0000) (Grouping.Droid)
.../Xamarin.Android.Support.Design/library_project_imports/res/values-v26/values-v26.xml: Error APT0000: 1: error: Error: No resource found that matches the given name: attr 'android:keyboardNavigationCluster'. (APT0000) (Grouping.Droid)
Could you check, please?
Regards,
Jairo Marques
Muthu,
this version works fine.
Thanks,
Jairo Marques