Android 12 Developer Preview is here! Try it out, and give us your feedback!

GuidedDatePickerAction

open class GuidedDatePickerAction : GuidedAction
kotlin.Any
   ↳ androidx.leanback.widget.Action
   ↳ androidx.leanback.widget.GuidedAction
   ↳ androidx.leanback.widget.GuidedDatePickerAction

Subclass of GuidedAction that can choose a date. The Action is editable by default; to make it read only, call hasEditableActivatorView(false) on the Builder.

Summary

Nested classes

Builder class to build a GuidedDatePickerAction.

abstract

Base Builder class to build GuidedDatePickerAction.

Inherited constants
Public constructors

Subclass of GuidedAction that can choose a date.

Public methods
open Long

Get current value of DatePicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

open String!

Returns format of date Picker or null if not specified.

open Long

Get maximum value of DatePicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

open Long

Get minimal value of DatePicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

open Unit

open Unit
onSaveInstanceState(bundle: Bundle!, key: String!)

open Unit
setDate(date: Long)

Sets current value of DatePicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

Inherited functions