Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

BuilderBase

abstract class BuilderBase<B : GuidedAction.BuilderBase<GuidedAction.BuilderBase<*>>!>
kotlin.Any
   ↳ androidx.leanback.widget.GuidedAction.BuilderBase

Base builder class to build a GuidedAction object. When subclass GuidedAction, you can override this BuilderBase class, implements your build() method which should call applyValues(GuidedAction). When using GuidedAction directly, use Builder.

Summary

Public constructors
<init>(context: Context!)

Creates a BuilderBase for GuidedAction or its subclass.

Public methods
open B
autoSaveRestoreEnabled(autoSaveRestoreEnabled: Boolean)

Explicitly sets auto restore feature on the GuidedAction.

open B
autofillHints(vararg hints: String!)

Sets autofill hints.

open 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.

open B
checked(checked: Boolean)

Indicates whether this action is initially checked.

open B

Construct a clickable action with associated id and auto assign pre-defined title for the action.

open B
description(description: CharSequence!)

Sets the description for this action.

open B
description(@StringRes descriptionResourceId: Int)

Sets the description for this action.

open B

Sets InputType of this action description in editing.

open B

Indicates whether this action's description is editable

open B

Sets InputType of this action description not in editing.

open B

Sets the optional description text to edit.

open B
editDescription(@StringRes descriptionResourceId: Int)

Sets the optional description text to edit.

open B
editInputType(inputType: Int)

Sets InputType of this action title in editing.

open B
editTitle(editTitle: CharSequence!)

Sets the optional title text to edit.

open B
editTitle(@StringRes editTitleResourceId: Int)

Sets the optional title text to edit.

open B
editable(editable: Boolean)

Indicates whether this action title is editable.

open B
enabled(enabled: Boolean)

Indicates whether this action is enabled.

open B
focusable(focusable: Boolean)

Indicates whether this action can take focus.

open Context!

Returns Context of this Builder.

open B

Indicates whether this action has a view can be activated to edit, e.

open B
hasNext(hasNext: Boolean)

Indicates whether this action has a next state and should display a chevron.

open B
icon(icon: Drawable!)

Sets the action's icon drawable.

open B
icon(@DrawableRes iconResourceId: Int)

Sets the action's icon drawable by retrieving it by resource ID from Builder's context.

open B
iconResourceId(@DrawableRes iconResourceId: Int, context: Context