public override UIKit.UITableViewCell GetCell (UIKit.UITableView tv)
		{
			// try and dequeue a cell object to reuse. if one doesn't exist, create a new one
			ExhibitorCell cell = tv.DequeueReusableCell (cellKey) as ExhibitorCell;
			if (cell == null) {
				cell = new UI.CustomElements.ExhibitorCell (exhibitor);
			}
			cell.UpdateCell(exhibitor);

			return cell;
		}
Beispiel #2
0
        public override MonoTouch.UIKit.UITableViewCell GetCell(MonoTouch.UIKit.UITableView tv)
        {
            // try and dequeue a cell object to reuse. if one doesn't exist, create a new one
            ExhibitorCell cell = tv.DequeueReusableCell(cellKey) as ExhibitorCell;

            if (cell == null)
            {
                cell = new UI.CustomElements.ExhibitorCell(exhibitor);
            }
            cell.UpdateCell(exhibitor);

            return(cell);
        }