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

Can i clear the Listview cache?

$
0
0

I have a listview with cachingstrategy set to RecylcleElement. Its seperatorcolor is set from a style that comes from DynamicResource (my resources/styles are global) like this Style="DynamicResource SeperatorColor". But when I change the App.Current.Resources to another resourcedictionary that hase the style but with a different color, the listview doesnt update its seperator color. This happens first when i scroll and a new cell triggers the OnAppearing. I want the whole listview to change every cells seperator color. Ive tried clearing the itemssource and filling it up again, but with the same result (this doesnt trigger OnAppearing, i think).. Thank you!


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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