public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell(key); if (cell == null) { cell = new SessionCell(UITableViewCellStyle.Subtitle, key, session, Caption, subtitle); } else { ((SessionCell)cell).UpdateCell(session, Caption, subtitle); } return(cell); }
public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell (key); count++; if (cell == null) { cell = new SessionCell (UITableViewCellStyle.Subtitle, key, session, Caption, subtitle); } else ((SessionCell)cell).UpdateCell (session, Caption, subtitle); return cell; }