I have a switch in my listview. In xaml, a converter added for the IsToggled property:
<Switch
IsToggled="{Binding userProfileTO.userId, Converter={StaticResource isToggledConverter}}"
HorizontalOptions="EndAndExpand"
VerticalOptions="CenterAndExpand"/>
Converter code:
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
bool toggle = false;
// My Codes
return toggle;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException();
}
Getting an NotImplementedException on ConvertBack when running this code.
Exception thrown: 'System.NotImplementedException' in Myprojectname.dll
An exception of type 'System.NotImplementedException' occurred in Myprojectname.dll but was not handled in user code
The method or operation is not implemented.