"Pickers" is an auxiliary functionality for entering values of different types (date/time, etc.) without using and layout of a separate form or a group of UI components. Picker is not a separate UI component. It is a utility class that, depending on the target platform, offers a native way for the user to select a value. 


Date picker

Date pickers let users select date.

Work with the picker is carried out through the auxiliary class FGX.Pickers.Date.TfgPickerDate. This class allows you to configure the parameters and logic of the picker.

Fast showing date picker

If you don't have complicated logic and you just want to get selected date from user, you can use lightweight version of picker factory FGX.Pickers.Date.TfgPickerDateFactory.PickDate.

Note that the picker instance obtained in this way will be released by the library automatically. So you don't have to destroy it.

Allocation

The picker instance is obtained by available method of a factory FGX.Pickers.Date.TfgPickerDateFactory.CreatePicker. After getting instance you can setup event handlers or callbacks for tracking picker changes or picker visibility.

Date range

The date picker supports selecting date from range. You can specify bounds: minimum date, maximum date or min and max dates together.


Time picker

Time pickers let user select time.

Fast showing time picker

If you don't have complicated logic and you just want to get selected time from user, you can use lightweight version of picker factory FGX.Pickers.Time.TfgPickerTimeFactory.PickTime.

Note that the picker instance obtained in this way will be released by the library automatically. So you don't have to destroy it.

Allocation

The picker instance is obtained by available method of a factory FGX.Pickers.Time.TfgPickerTimeFactory.CreatePicker. After getting instance you can setup event handlers or callbacks for tracking picker changes or picker visibility.