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

Add event binding to SwitchCell on a ListView

$
0
0

So, I'm using the ListView with a SwitchCell, and I need to capture this event:
Xamarin.Forms.SwitchCell.OnChanged Event

Which basically tells me when the value of the switch has changed in the SwitchCell. Unfortunately there is no way to access it. I even tried getting the ListView's children(which you can't) and manually set it on each SwitchCell.

And I can't use the SelectedItem event since I need that for other functionality.


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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