BeerDrinkin.iOS.AddBeerTableViewController.AddBeerDelegate.GetHeightForRow C# (CSharp) Method

GetHeightForRow() public method

public GetHeightForRow ( UITableView tableView, NSIndexPath indexPath ) : nfloat
tableView UITableView
indexPath NSIndexPath
return nfloat
            public override nfloat GetHeightForRow(UITableView tableView, NSIndexPath indexPath)
            {
                var cell = cells[indexPath.Row];

                if (cell.GetType() == typeof(AddBeerSourceTypeCell))
                    return 141;

                if (cell.GetType() == typeof(AddBeerBarcodeCell))
                    return 125;

                if (cell.GetType() == typeof(AddBeerPhotosCell))
                    return 119;

                if (cell.GetType() == typeof(AddBeerRatingCell))
                    return 113;

                if (cell.GetType() == typeof(AddBeerNotesCell))
                    return 224;

                return 0;
            }
AddBeerTableViewController.AddBeerDelegate