public static T AddGesture <T> (this T view, GestureRecognizer gesture) where T : View { view.GestureRecognizers.Add(gesture); return(view); }
public GestureRecognizerHandler(NativeComponentRenderer renderer, XF.GestureRecognizer gestureRecognizerControl) { Renderer = renderer ?? throw new ArgumentNullException(nameof(renderer)); GestureRecognizerControl = gestureRecognizerControl ?? throw new ArgumentNullException(nameof(gestureRecognizerControl)); }