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 } }
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; } }