DateTimePickerPresenter

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

A BaseDateTimePickerPresenter for presenting a DateTimePicker.

Parameters

dateTimePicker

The DateTimePicker being presented.

themeResourceId

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

lifecycleManagerObserver

The LifecycleManagerObserver to observe lifecycle changes

coroutineScope

The CoroutineScope managing changes to the alert presentation.

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

Class for presenting a DateTimePicker. Implementation of BaseDateTimePickerPresenter

Deprecated

This feature has been deprecated. It is recommended to use Compose Multiplatform instead.

A BaseDateTimePickerPresenter for presenting a DateTimePicker

Parameters

dateTimePicker

the DateTimePicker to present

parent

The UIViewController to present the DateTimePicker

Constructors

Link copied to clipboard
constructor(dateTimePicker: DateTimePicker, themeResourceId: Int, lifecycleManagerObserver: LifecycleManagerObserver = LifecycleManagerObserver(), coroutineScope: CoroutineScope)
constructor(dateTimePicker: DateTimePicker, parent: UIViewController)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun dismiss(animated: Boolean)

Dismisses the currently presented DateTimePicker.

open override fun dismiss(animated: Boolean)

Dismisses the currently presented DateTimePicker.

open override fun dismiss(animated: Boolean)

Dismisses the currently presented DateTimePicker.

Link copied to clipboard
open suspend override fun show(animated: Boolean = true): KalugaDate?

Presents a DateTimePicker and suspends until completion

open suspend override fun show(animated: Boolean = true): KalugaDate?

Presents a DateTimePicker and suspends until completion

open suspend override fun show(animated: Boolean = true): KalugaDate?

Presents a DateTimePicker and suspends until completion

Link copied to clipboard
open override fun showAsync(animated: Boolean = true, completion: (KalugaDate?) -> Unit = {})

Presents a DateTimePicker

open override fun showAsync(animated: Boolean = true, completion: (KalugaDate?) -> Unit = {})

Presents a DateTimePicker

open override fun showAsync(animated: Boolean = true, completion: (KalugaDate?) -> Unit = {})

Presents a DateTimePicker