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; } }
private void Item_SwipeTriggerInTouch(object sender, SwipeTriggerEventArgs args) { ItemSwipeTriggerInTouch?.Invoke(sender, args); }