public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { PostTableViewCell cell = tableView.DequeueReusableCell("CELL") as PostTableViewCell; if (cell == null) { cell = new PostTableViewCell("CELL"); } cell.Post = posts[indexPath.Row]; return(cell); }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { PostTableViewCell cell = tableView.DequeueReusableCell("CELL") as PostTableViewCell; if (cell == null) { cell = new PostTableViewCell("CELL"); } cell.Post = posts[indexPath.Row]; return cell; }