コード例 #1
0
 protected override UITableViewCell GetOrCreateCellFor(UITableView tableView, NSIndexPath indexPath, object item)
 {
     UITableViewCell cell = tableView.DequeueReusableCell(CellIdentifier);
     if (cell == null)
     {
         cell = new CustomerListTableViewCell(UITableViewCellStyle.Subtitle, CellIdentifier);
         cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;
     }
     return cell;
 }
コード例 #2
0
        protected override UITableViewCell GetOrCreateCellFor(UITableView tableView, NSIndexPath indexPath, object item)
        {
            UITableViewCell cell = tableView.DequeueReusableCell(CellIdentifier);

            if (cell == null)
            {
                cell           = new CustomerListTableViewCell(UITableViewCellStyle.Subtitle, CellIdentifier);
                cell.Accessory = UITableViewCellAccessory.DisclosureIndicator;
            }
            return(cell);
        }