Time
constructor(withButtonView: Boolean = true, extraButton: SelectionButton? = null, onExtraButtonClick: () -> Unit? = null, negativeButton: SelectionButton? = BaseConstants.DEFAULT_NEGATIVE_BUTTON, onNegativeClick: () -> Unit? = null, positiveButton: SelectionButton = BaseConstants.DEFAULT_POSITIVE_BUTTON, timeFormatStyle: FormatStyle = FormatStyle.SHORT, selectedTime: LocalTime? = null, onPositiveClick: (LocalTime) -> Unit)
Parameters
withButtonView
If true, the dialog will be shown with a button view.
extraButton
An extra button that can be used for a custom action.
onExtraButtonClick
The listener that is invoked when the extra button is clicked.
negativeButton
The button that will be used as a negative button.
onNegativeClick
The listener that is invoked when the negative button is clicked.
positiveButton
The button that will be used as a positive button.
timeFormatStyle
The style of the time format.
selectedTime
The selected time.
onPositiveClick
The listener that returns the selected date.