Stay organized with collections
Save and categorize content based on your preferences.
class GuidedAction.Builder : GuidedAction.BuilderBase
Builds a GuidedAction object.
Summary
Public constructors |
|
This function is deprecated.
Use Builder.
|
|
Creates a Builder for GuidedAction.
|
Public functions |
GuidedAction |
Builds the GuidedAction corresponding to this Builder.
|
Inherited functions |
From androidx.leanback.widget.GuidedAction.BuilderBase
Unit |
Subclass of BuilderBase should call this function to apply values.
|
B! |
Explicitly sets auto restore feature on the GuidedAction.
|
B! |
Sets autofill hints.
|
B! |
Indicates whether this action is part of a single-select group similar to radio buttons or this action is a checkbox.
|
B! |
Indicates whether this action is initially checked.
|
B! |
Construct a clickable action with associated id and auto assign pre-defined title for the action.
|
B! |
Sets the description for this action.
|
B! |
Sets the description for this action.
|
B! |
Sets InputType of this action description in editing.
|
B! |
Indicates whether this action's description is editable
|
B! |
Sets InputType of this action description not in editing.
|
B! |
Sets the optional description text to edit.
|
B! |
Sets the optional description text to edit.
|
B! |
Sets InputType of this action title in editing.
|
B! |
Sets the optional title text to edit.
|
B! |
Sets the optional title text to edit.
|
B! |
Indicates whether this action title is editable.
|
B! |
Indicates whether this action is enabled.
|
B! |
Indicates whether this action can take focus.
|
Context |
Returns Context of this Builder.
|
B! |
Indicates whether this action has a view can be activated to edit, e.g. a DatePicker.
|
B! |
Indicates whether this action has a next state and should display a chevron.
|
B! |
Sets the action's icon drawable.
|
B! |
Sets the action's icon drawable by retrieving it by resource ID from Builder's context.
|
B! |
This function is deprecated.
Use icon.
|
B! |
Sets the ID associated with this action.
|
B! |
Indicates whether this action is for information purposes only and cannot be clicked.
|
B! |
Sets InputType of this action title not in editing.
|
B! |
Sets the intent associated with this action.
|
B! |
Indicates whether the title and description are long, and should be displayed appropriately.
|
B! |
Sets sub actions list.
|
B! |
Sets the title for this action.
|
B! |
Sets the title for this action.
|
|
Public constructors
Builder(context: Context?)
Creates a Builder for GuidedAction.
| Parameters |
context: Context? |
Context to build GuidedAction.
|
Public functions
fun build(): GuidedAction
Builds the GuidedAction corresponding to this Builder.
| Returns |
GuidedAction |
The GuidedAction as configured through this Builder.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[]]