Ejemplo n.º 1
0
        /// <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));
        }
Ejemplo n.º 2
0
        void ItemLongPressed(object sender, ElmSharp.GenListItemEventArgs e)
        {
            var command = VoiceMemo.Effects.ItemLongPressEffect.GetCommand(Element);

            command?.Execute(VoiceMemo.Effects.ItemLongPressEffect.GetCommandParameter(Element));
        }