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