FocusHighlightHelper

public class FocusHighlightHelper
extends Object

java.lang.Object
   ↳ androidx.leanback.widget.FocusHighlightHelper


Sets up the highlighting behavior when an item gains focus.

Summary

Public constructors

FocusHighlightHelper()

This constructor is deprecated. This type should not be instantiated as it contains only static methods.

Public methods

static void setupBrowseItemFocusHighlight(ItemBridgeAdapter adapter, int zoomIndex, boolean useDimmer)

Sets up the focus highlight behavior of a focused item in browse list row.

static void setupHeaderItemFocusHighlight(VerticalGridView gridView, boolean scaleEnabled)

This method is deprecated. Use setupHeaderItemFocusHighlight(ItemBridgeAdapter, boolean)

static void setupHeaderItemFocusHighlight(ItemBridgeAdapter adapter)

Sets up default focus highlight behavior of a focused item in header list.

static void setupHeaderItemFocusHighlight(VerticalGridView gridView)

This method is deprecated. Use setupHeaderItemFocusHighlight(ItemBridgeAdapter)

static void setupHeaderItemFocusHighlight(ItemBridgeAdapter adapter, boolean scaleEnabled)

Sets up the focus highlight behavior of a focused item in header list.

Inherited methods