BillSplitter.AppDelegate.PeopleModel.GetRowsInComponent C# (CSharp) Method

GetRowsInComponent() public method

public GetRowsInComponent ( UIPickerView pickerView, int component ) : int
pickerView UIPickerView
component int
return int
            public override int GetRowsInComponent(UIPickerView pickerView, int component)
            {
                if (component == 0)
                    return names.Length;
                else
                    return names2.Length;
            }