Exemplo n.º 1
0
		public override UITableViewCell GetCell (UITableView tv)
		{
			var cell = tv.DequeueReusableCell (key);
			
			if (cell == null) {
				cell = new NewsCell (UITableViewCellStyle.Default, key, entry.Title, image);
			} else {
				((NewsCell)cell).UpdateCell (entry.Title, image);
			}
			return cell;
		}
Exemplo n.º 2
0
        public override UITableViewCell GetCell(UITableView tv)
        {
            var cell = tv.DequeueReusableCell(key);

            if (cell == null)
            {
                cell = new NewsCell(UITableViewCellStyle.Default, key, entry.Title, image);
            }
            else
            {
                ((NewsCell)cell).UpdateCell(entry.Title, image);
            }
            return(cell);
        }