public void bindData(RepoOrganizationEntity data) { tvOrg.Text = data.owner.login; tvRepo.Text = data.name; tvDescr.Text = data.description; tvLang.Text = data.language; }
public void UpdateCell(RepoOrganizationEntity repo) { lbl_repo_name.Text = repo.name; lbl_owner.Text = repo.owner.login; lbl_language.Text = repo.language; lbl_description.Text = repo.description; }
public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell(CellIdentifier, indexPath) as RepoCell; RepoOrganizationEntity item = Repos[indexPath.Row]; if (cell == null) { cell = new RepoCell(); } cell.UpdateCell(item); return(cell); }