Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Xamarin Forms UI not properly updated when binding source value changed

$
0
0

Hi
I have an issue with binding in xamarin forms when i am using tableview with image cells. I set the binding with var result = new ImageCell() and then result.SetBinding(ImageCell.DetailProperty,"ItemImage");
than i code after change of ItemImage i call calling OnPropertyChanged("ItemImage"); but the image on screen remains same as before change. but when i scroll the page so i dont see it and then scroll it back it refreshes with new one so in fact the issue is that image is not refreshed while is apearing on screen. Same thing happend also with textproperty. This problem also ocured when i was using listview. Is there some possibility to call whole page refresh after i change binded property in viewmodel or some other way to fix it?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>