private void ItemSwipeTriggerInTouch(object sender, SwipeTriggerEventArgs args)
 {
     var itemData = (sender as LLMListViewItem).Content as Contact;
     if (args.SwipeDirection == SwipeDirection.Left)
     {
         itemData.IsDelete = args.IsTrigger;
     }
     else
     {
         itemData.IsStar = ContackStarDict.ContainsKey(itemData) && ContackStarDict[itemData] ? !args.IsTrigger : args.IsTrigger;
     }
 }
Beispiel #2
0
 private void Item_SwipeTriggerInTouch(object sender, SwipeTriggerEventArgs args)
 {
     ItemSwipeTriggerInTouch?.Invoke(sender, args);
 }