Esempio n. 1
0
 public void bindData(RepoOrganizationEntity data)
 {
     tvOrg.Text   = data.owner.login;
     tvRepo.Text  = data.name;
     tvDescr.Text = data.description;
     tvLang.Text  = data.language;
 }
Esempio n. 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;
 }
Esempio n. 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);
        }