Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

ThumbsAction

abstract class ThumbsAction : PlaybackControlsRow.MultiAction
kotlin.Any
   ↳ androidx.leanback.widget.Action
   ↳ androidx.leanback.widget.PlaybackControlsRow.MultiAction
   ↳ androidx.leanback.widget.PlaybackControlsRow.ThumbsAction

A base class for displaying a thumbs action.

Summary

Constants
static Int

Action index for the solid thumb icon.

static Int

Action index for the outline thumb icon.

static Int

Action index for the solid thumb icon.

static Int

Action index for the outline thumb icon.

Inherited constants
Public constructors
<init>(id: Int, context: Context!, solidIconIndex: Int, outlineIconIndex: Int)

Constructor

Inherited functions

Constants

SOLID

static val SOLID: Int

Action index for the solid thumb icon.

Value: 0

OUTLINE

static val OUTLINE: Int

Action index for the outline thumb icon.

Value: 1

INDEX_SOLID

static val INDEX_SOLID: Int

Action index for the solid thumb icon.

Value: 0

INDEX_OUTLINE

static val INDEX_OUTLINE: Int

Action index for the outline thumb icon.

Value: 1

Public constructors

<init>

ThumbsAction(id: Int, context: Context!, solidIconIndex: Int, outlineIconIndex: Int)

Constructor

Parameters
context Int: Context used for loading resources.