コード例 #1
0
		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;
		}
コード例 #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);
        }