added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

GuidedAction.BuilderBase

public static abstract class GuidedAction.BuilderBase
extends Object

java.lang.Object
   ↳ android.support.v17.leanback.widget.GuidedAction.BuilderBase<B extends android.support.v17.leanback.widget.GuidedAction.BuilderBase>
Known Direct Subclasses
Known Indirect Subclasses


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 GuidedAction.Builder.

Summary

Public constructors

GuidedAction.BuilderBase(Context context)

Creates a BuilderBase for GuidedAction or its subclass.

Public methods

B autoSaveRestoreEnabled(boolean autoSaveRestoreEnabled)

Explicitly sets auto restore feature on the GuidedAction.

B checkSetId(int checkSetId)

Indicates whether this action is part of a single-select group similar to radio buttons or this action is a checkbox.

B checked(boolean checked)

Indicates whether this action is initially checked.

B clickAction(long id)

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

B description(int descriptionResourceId)

Sets the description for this action.

B description(CharSequence description)

Sets the description for this action.

B descriptionEditInputType(int inputType)

Sets InputType of this action description in editing.

B descriptionEditable(boolean editable)

Indicates whether this action's description is editable

B descriptionInputType(int inputType)

Sets InputType of this action description not in editing.

B editDescription(CharSequence description)

Sets the optional description text to edit.

B editDescription(int descriptionResourceId)

Sets the optional description text to edit.

B editInputType(int inputType)

Sets InputType of this action title in editing.

B editTitle(CharSequence editTitle)

Sets the optional title text to edit.

B editTitle(int editTitleResourceId)

Sets the optional title text to edit.

B editable(boolean editable)

Indicates whether this action title is editable.

B enabled(boolean enabled)

Indicates whether this action is enabled.

B