Example #1
0
 static void AddInputTransparentToElement(BindableObject obj)
 {
     if (obj is View view && TouchEffect.GetColor(view) == Color.Default && Commands.GetTap(view) == null && Commands.GetLongTap(view) == null)
     {
         view.InputTransparent = true;
     }
 }
Example #2
0
 private static bool AddInputTransparentToElement(BindableObject obj)
 {
     if (TouchEffect.GetColor(obj) != Color.Default || Commands.GetTap(obj) != null || Commands.GetLongTap(obj) != null)
     {
         return(false);
     }
     return(true);
 }
Example #3
0
 public static void Init()
 {
     TouchEffect.Init();
     Commands.Init();
     EffectsConfig.Init();
 }