BuilderBase
abstract class BuilderBase<B : GuidedDatePickerAction.BuilderBase<GuidedDatePickerAction.BuilderBase<*>>!> : GuidedAction.BuilderBase<B>
Base Builder class to build GuidedDatePickerAction. Subclass this BuilderBase when app needs to subclass GuidedDatePickerAction, implement your build() which should call applyDatePickerValues(GuidedDatePickerAction)
. When using GuidedDatePickerAction directly, use Builder
.
Summary
Public methods |
open B |
Sets a Date for date picker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.
|
open B |
Sets format of date Picker or null for default.
|
open B |
Sets maximum Date for date picker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.
|
open B |
Sets minimal Date for date picker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.
|
Protected methods |
Unit |
Apply values to GuidedDatePickerAction.
|
Inherited functions |
From class BuilderBase
Unit |
applyValues(action: GuidedAction!)
Subclass of BuilderBase should call this function to apply values.
|
B |
autoSaveRestoreEnabled(autoSaveRestoreEnabled: Boolean)
Explicitly sets auto restore feature on the GuidedAction. It's by default true.
|
B |
autofillHints(vararg hints: String!)
Sets autofill hints. See android.view.View#setAutofillHints
|
B |
checkSetId(checkSetId: Int)
Indicates whether this action is part of a single-select group similar to radio buttons or this action is a checkbox. When one item in a check set is checked, all others with the same check set ID will be checked automatically.
|
B |
checked(checked: Boolean)
Indicates whether this action is initially checked.
|
B |
clickAction(id: Long)
Construct a clickable action with associated id and auto assign pre-defined title for the action. If the id is not supported, the method simply does nothing.
|
B |
description(description: CharSequence!)
Sets the description for this action. The description is typically a longer string providing extra information on what the action will do.
|
B |
description(@StringRes descriptionResourceId: Int)
Sets the description for this action. The description is typically a longer string providing extra information on what the action will do.
|
B |
descriptionEditInputType(inputType: Int)
Sets InputType of this action description in editing.
|
B |
descriptionEditable(editable: Boolean)
Indicates whether this action's description is editable
|
B |
descriptionInputType(inputType: Int)
Sets InputType of this action description not in editing.
|
B |
editDescription(description: CharSequence!)
Sets the optional description text to edit. When TextView is activated, the edit description replaces the string of description.
|
B |
editDescription(@StringRes descriptionResourceId: Int)
Sets the optional description text to edit. When TextView is activated, the edit description replaces the string of description.
|
B |
editInputType(inputType: Int)
Sets InputType of this action title in editing.
|
B |
editTitle(editTitle: CharSequence!)
Sets the optional title text to edit. When TextView is activated, the edit title replaces the string of title.
|
B |
| |