public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell (tzSelectionCell.Key) as tzSelectionCell;
            if (cell == null)
                cell = new tzSelectionCell ();

            // TODO: populate the cell with the appropriate data based on the indexPath
            cell.DetailTextLabel.Text = "DetailsTextLabel";

            return cell;
        }
示例#2
0
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(tzSelectionCell.Key) as tzSelectionCell;

            if (cell == null)
            {
                cell = new tzSelectionCell();
            }

            // TODO: populate the cell with the appropriate data based on the indexPath
            cell.DetailTextLabel.Text = "DetailsTextLabel";

            return(cell);
        }
示例#3
0
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(tzSelectionCell.Key) as tzSelectionCell;

            if (cell == null)
            {
                cell = new tzSelectionCell();
            }

            if (this.searchResult != null)
            {
                cell.TimeZoneInfo = this.searchResult[indexPath.Row];
            }
            else
            {
                cell.TimeZoneInfo = this.timeZones[indexPath.Row];
            }

            return(cell);
        }
        public override UITableViewCell GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            var cell = tableView.DequeueReusableCell(tzSelectionCell.Key) as tzSelectionCell;

            if (cell == null)
            {
                cell = new tzSelectionCell();
            }

            if (this.searchResult != null)
            {
                cell.TimeZoneInfo = this.searchResult[indexPath.Row];
            }
            else
            {
                cell.TimeZoneInfo = this.timeZones[indexPath.Row];
            }

            return cell;
        }