Builder

A BaseDateTimePickerPresenter.Builder for creating a DateTimePickerPresenter

Parameters

themeResourceId

the resource ID of the theme to apply to the date-time picker dialog

lifecycleManagerObserver

The LifecycleManagerObserver to observe lifecycle changes

actual class Builder

A BaseDateTimePickerPresenter.Builder for creating a DateTimePickerPresenter

Parameters

viewController

The UIViewController to present any DateTimePickerPresenter built using this builder.

Constructors

Link copied to clipboard
constructor(themeResourceId: Int = 0, lifecycleManagerObserver: LifecycleManagerObserver = LifecycleManagerObserver())
constructor(viewController: <Error class: unknown class>)
constructor()
constructor()

Properties

Link copied to clipboard

Functions

Link copied to clipboard
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)

Link copied to clipboard

Builds a time picker using DSL syntax (thread safe)

Link copied to clipboard
actual open override fun create(dateTimePicker: DateTimePicker, coroutineScope: CoroutineScope): DateTimePickerPresenter
expect open override fun create(dateTimePicker: DateTimePicker, coroutineScope: CoroutineScope): DateTimePickerPresenter
actual open override fun create(dateTimePicker: DateTimePicker, coroutineScope: CoroutineScope): DateTimePickerPresenter
actual open override fun create(dateTimePicker: DateTimePicker, coroutineScope: CoroutineScope): DateTimePickerPresenter
Link copied to clipboard
Link copied to clipboard
open override fun unsubscribe()