예제 #1
0
        protected override UITableViewCell GetCellImpl(UITableView tv)
		{
			var cell = tv.DequeueReusableCell (cellId);
			count++;
			if (cell == null)
				cell = new SpeakerCell (UITableViewCellStyle.Subtitle, cellId, speaker);
			else
				((SpeakerCell)cell).UpdateCell (speaker);

			return cell;
		}
예제 #2
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            var cell = tv.DequeueReusableCell(cellId);

            count++;
            if (cell == null)
            {
                cell = new SpeakerCell(UITableViewCellStyle.Subtitle, cellId, speaker);
            }
            else
            {
                ((SpeakerCell)cell).UpdateCell(speaker);
            }

            return(cell);
        }