public void bindData(RepoOrganization data) { tvOrg.Text = data.owner.login; tvRepo.Text = data.name; tvDescr.Text = data.description; tvLang.Text = data.language; }
public void UpdateCell(RepoOrganization 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; RepoOrganization item = Repos[indexPath.Row]; if (cell == null) { cell = new RepoCell(); } cell.UpdateCell(item); return(cell); }
public static RepoOrganizationEntity Transform(RepoOrganization repo) { return(new RepoOrganizationEntity(repo.id, repo.name, repo.description, repo.language, repo.htmlUrl, OwnerDomainMapper.Transform(repo.owner))); }