/// <summary> /// Called when the item is long pressed. /// </summary> /// <param name="sender">Object </param> /// <param name="e">Argument of ElmSharp.GenListItemEventArgs</param> void ItemLongPressed(object sender, ElmSharp.GenListItemEventArgs e) { var command = UIComponents.Extensions.Effects.ItemLongPressEffect.GetCommand(Element); command?.Execute(UIComponents.Extensions.Effects.ItemLongPressEffect.GetCommandParameter(Element)); }
void ItemLongPressed(object sender, ElmSharp.GenListItemEventArgs e) { var command = VoiceMemo.Effects.ItemLongPressEffect.GetCommand(Element); command?.Execute(VoiceMemo.Effects.ItemLongPressEffect.GetCommandParameter(Element)); }