Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

BrowseFrameLayout.OnChildFocusListener

public static interface BrowseFrameLayout.OnChildFocusListener

androidx.leanback.widget.BrowseFrameLayout.OnChildFocusListener


Interface for managing child focus in a BrowseFrameLayout.

Summary

Public methods

abstract void onRequestChildFocus(View child, View focused)

See ViewGroup.requestChildFocus(android.view.View, android.view.View).

abstract boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect)

See ViewGroup.onRequestFocusInDescendants(int, android.graphics.Rect).

Public methods

onRequestChildFocus

public abstract void onRequestChildFocus (View child, 
                View focused)

See ViewGroup.requestChildFocus(android.view.View, android.view.View).

Parameters
child View

focused View

onRequestFocusInDescendants

public abstract boolean onRequestFocusInDescendants (int direction, 
                Rect previouslyFocusedRect)

See ViewGroup.onRequestFocusInDescendants(int, android.graphics.Rect).

Parameters
direction int

previouslyFocusedRect Rect

Returns
boolean True if handled by listener, otherwise returns ViewGroup.onRequestFocusInDescendants(int, android.graphics.Rect).