private void AddGestures(ViewCell cell, UITableViewCell tableViewCell, UITableView tableView)
 {
     if (VisitActionDetailsPage.CurrentInstance.IsEditable)
     {
         if (VisitActionDetailsPage.CurrentInstance.SingleTypeCode != null)
         {
             tableViewCell.AddGestureRecognizer(LongPressGestureRecognizer.CreateGesture(tableView, cell));
         }
     }
     else
     {
         tableViewCell.RemoveGestureRecognizer(LongPressGestureRecognizer.CreateGesture(tableView, cell));
     }
 }
Exemple #2
0
 private void AddGestures(ViewCell cell, UITableViewCell tableViewCell, UITableView tableView)
 {
     tableViewCell.AddGestureRecognizer(LongPressGestureRecognizer.CreateGesture(tableView, cell));
 }