showDatePickerDialog

fun showDatePickerDialog(dialogMode: DatePickerMode = DatePickerMode.DEFAULT, ignoreFieldMode: Boolean = false)

Start the DatePicker dialog and display it on screen.

Parameters

dialogMode
ignoreFieldMode

Whether the field should ignore state configured with setDatePickerMode() or through attr.datePickerModes attribute in the XML. If true, the dialog will show DatePicker with dialogMode mode.