private void HandleLongClick() { if (_longPressRecognizer.State == UIGestureRecognizerState.Began) { var command = ButtonLongPressedEffect.GetCommand(Element); command?.Execute(ButtonLongPressedEffect.GetCommandParameter(Element)); } }
private void Control_LongClick(object sender, Android.Views.View.LongClickEventArgs e) { var command = ButtonLongPressedEffect.GetCommand(Element); command?.Execute(ButtonLongPressedEffect.GetCommandParameter(Element)); }