i have many issues UWP, one of them this. and i never find any solution (its out of subjectt)

selected item backround color has issue on differennt machine (not different platform) which is Windows 10.
and no way to change color?
and all elements change defaults and nothing display. but item can clickable....
do you have any solution to change selected item background color? or stoped to platform defaults?

// I use ViewCell because I want to change in All places but if anyone wants to change for a particular listView
// then you need to make a custom control and inherit it from ViewCell , and use that control in xaml with this renderer

// I applied on All ViewCell because I need it, if anyone wants to apply for a particular ListView then you need to make
// a CustomControl for this which Inherit from ViewCell and use this control in xaml with this renderer in iOS

@Lang_tu_bi_dien said:
When i set ListViewCachingStrategy cachingStrategy is RecycleElement . All select are disable.

Hi , I have the same problem, when I set the caching strategy to something other than the default this approach does not work anymore. I'd like to try your suggestion. On which class should the OnElementChanged method go?

@Lang_tu_bi_dien thank you, your suggestion works even with a non-standard cachingStrategy (the OnElementChanged must be on a custom iOS ListView Renderer class). I prefer this to having code in the OnItemSelected method coupled with a binding from the ViewModel for the background color.

@EhsanJahanagiri I'm sorry but the implementation described in that blog post was broken across all listview caching strategies recently, with all the .net standard/xamarin forms updates. Tho it was just built with RetainElement in mind...

I think I have it resolved now, for Android (using RecycleElement), but not yet for iOS. I've been chasing my tail on this for weeks. There's a branch in that github repo called fix-listview-demo, which appears to fine for Android. iOS is still broken tho... I can't believe it's this hard! Maybe that's why the xamarin forms guys haven't implemented it yet

^ Well, the problem with iOS and SelectedBackgroundView revolves around using any other CachingStrategy than RetainElement and since that article doesn't even use CachingStrategy at all it resolves nothing other than being a nice guide on how to do it all before that pivotal moment of agony.