Пример #1
0
 public void bindData(RepoOrganizationEntity data)
 {
     tvOrg.Text   = data.owner.login;
     tvRepo.Text  = data.name;
     tvDescr.Text = data.description;
     tvLang.Text  = data.language;
 }
Пример #2
0
 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;
 }
Пример #3
0
        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);
        }