JudoPayiOSXamarinSampleApp.MainMenuSource.GetCell C# (CSharp) Method

GetCell() public method

public GetCell ( UITableView tableView, NSIndexPath indexPath ) : UITableViewCell
tableView UITableView
indexPath NSIndexPath
return UITableViewCell
		public override UITableViewCell GetCell (UITableView tableView, NSIndexPath indexPath)
		{

			UITableViewCell cell = tableView.DequeueReusableCell (CellIdentifier);
			cell = TableCells [indexPath.Row];
			cell.IndentationLevel = 0;

			if (cell != null) {
				return cell;
			} else {
				cell = new UITableViewCell (UITableViewCellStyle.Default, CellIdentifier);
				cell.TextLabel.Text = ButtonArray [indexPath.Row].Key;
				return cell;
			}
		}