Ejemplo n.º 1
0
        private void ItemSwipeTriggerComplete(object sender, SwipeCompleteEventArgs args)
        {
            Issue issue = (sender as LLMListViewItem).Content as Issue;

            if (args.SwipeDirection == SwipeDirection.Left)
            {
                // TODO: Mark completed
            }
            else
            {
                // TODO: Contact user
            }
        }
Ejemplo n.º 2
0
        private void ItemSwipeTriggerComplete(object sender, SwipeCompleteEventArgs args)
        {
            var itemData = (sender as LLMListViewItem).Content as Contact;

            if (args.SwipeDirection == SwipeDirection.Left)
            {
                _contacts.Remove(itemData);
            }
            else
            {
                ContackStarDict[itemData] = itemData.IsStar;
            }
        }