Forum Xamarin.Forms

Switch with command in view model

AlexRodAlexRod BRMember ✭✭

Hi all,

I have a switch inside a listview and i would like to know if when i toggle the switch i can invoke a method from the view model... Currently i could bind the isToggled value with an attribute from the Model, but i don't want to put the logic of what will happen when the switch is toggled inside the Property in the Model. Someone has any idea? Thanks

Sign In or Register to comment.