private void DidSelectRowInAlertController(int row) { var item = String.Format("{0}", (int)row); SelectedRowCountArr.Add(item); this.TableView.ReloadData(); }
public override void CommitEditingStyle(UITableView tableView, UITableViewCellEditingStyle editingStyle, NSIndexPath indexPath) { if (CheckMode.Equals("number")) { var appDelegate = (AppDelegate)UIApplication.SharedApplication.Delegate; appDelegate.Edited = true; SelectedRowCountArr.RemoveAt(indexPath.Row); this.TableView.DeleteRows(new NSIndexPath[] { indexPath }, UITableViewRowAnimation.Fade); } }