public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) 
 {
     var cell = tableView.DequeueReusableCell(CellId) as CustomCell;
     if (cell == null)
         cell = new CustomCell((NSString)CellId);
     cell.UpdateCell(listItems[indexPath.Row].Title
         , listItems[indexPath.Row].Description);
     return cell;
 }
Ejemplo n.º 2
0
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(CellId) as CustomCell;

            if (cell == null)
            {
                cell = new CustomCell((NSString)CellId);
            }
            cell.UpdateCell(listItems[indexPath.Row].Title
                            , listItems[indexPath.Row].Description);
            return(cell);
        }