buildDatePicker

fun BaseDateTimePickerPresenter.Builder.buildDatePicker(coroutineScope: CoroutineScope, earliestDate: KalugaDate? = null, latestDate: KalugaDate? = null, initialize: DateTimePicker.Builder.() -> Unit): BaseDateTimePickerPresenter

Builds a date picker using DSL syntax (thread safe)

Return

The built alert interface object

Parameters

coroutineScope

The CoroutineScope managing the alert lifecycle.

initialize

The block to construct a DateTimePicker with type DateTimePicker.Type.DateType