public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell (TweetListCell.Key) as TweetListCell; if (cell == null) cell = new TweetListCell (); // TODO: populate the cell with the appropriate data based on the indexPath // cell.DetailTextLabel.Text = "DetailsTextLabel"; cell.Tweet = _tweets.ElementAt (indexPath.Row); return cell; }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell(TweetListCell.Key) as TweetListCell; if (cell == null) { cell = new TweetListCell(); } // TODO: populate the cell with the appropriate data based on the indexPath // cell.DetailTextLabel.Text = "DetailsTextLabel"; cell.Tweet = _tweets.ElementAt(indexPath.Row); return(cell); }