private void Control_LongClick(object sender, Android.Views.View.LongClickEventArgs e) { Console.WriteLine("Invoking long click command"); var command = GesturesEffect.GetLongCommand(Element); command?.Execute(GesturesEffect.GetLongCommandParameter(Element)); }
private void Control_SingleClick(object sender, EventArgs e) { Console.WriteLine("Invoke single click command"); var command = GesturesEffect.GetTapCommand(Element); command?.Execute(GesturesEffect.GetTapCommandParameter(Element)); }
private void HandleSingleClick() { var command = GesturesEffect.GetTapCommand(Element); command?.Execute(GesturesEffect.GetTapCommandParameter(Element)); }