Ejemplo n.º 1
0
		public override UITableViewCell  GetCell (UITableView tableView, NSIndexPath indexPath)
		{
			// request a recycled cell to save memory

			var cell = tableView.DequeueReusableCell (cellIdentifier) as OptionsCellProvider;

			if (cell == null) {
				cell = new OptionsCellProvider (cellIdentifier);
			}
			Option obj = CurrentQuestion.Options [indexPath.Row];
			cell.BindFields (obj);
			//cell.lbl.Text = tableItems[indexPath.Row].FirstName;
			return cell;
		}
Ejemplo n.º 2
0
        public override UITableViewCell  GetCell(UITableView tableView, NSIndexPath indexPath)
        {
            // request a recycled cell to save memory

            var cell = tableView.DequeueReusableCell(cellIdentifier) as OptionsCellProvider;

            if (cell == null)
            {
                cell = new OptionsCellProvider(cellIdentifier);
            }
            Option obj = CurrentQuestion.Options [indexPath.Row];

            cell.BindFields(obj);
            //cell.lbl.Text = tableItems[indexPath.Row].FirstName;
            return(cell);
        }