Example #1
0
 public static void MapTrackColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateTrackColor(view, DefaultOnTrackColor, DefaultOffTrackColor);
 }
Example #2
0
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateThumbColor(view, DefaultThumbColor);
 }
Example #3
0
 public static void MapTrackColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateTrackColor(view, DefaultTrackColorStateList);
 }
Example #4
0
 public static void MapIsToggled(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateIsToggled(view);
 }
Example #5
0
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
 }
Example #6
0
 public static void MapIsOn(SwitchHandler handler, ISwitch view)
 {
 }
Example #7
0
 public static void MapIsToggled(SwitchHandler handler, ISwitch view)
 {
 }
Example #8
0
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
     handler.NativeView?.UpdateThumbColor(view, handler._originalResources);
 }
Example #9
0
 public static void MapTrackColor(SwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateTrackColor(view, handler._originalResources);
 }
Example #10
0
 public static void MapIsOn(SwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateIsToggled(view);
 }
 public static void MapThumbColor(SwitchHandler handler, ISwitch view)
 {
     handler.PlatformView?.UpdateThumbColor(view, handler._defaultThumbDrawable);
 }