Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

BrowseFrameLayout.OnChildFocusListener

public static interface BrowseFrameLayout.OnChildFocusListener

android.support.v17.leanback.widget.BrowseFrameLayout.OnChildFocusListener


Interface for managing child focus in a BrowseFrameLayout.

Summary

Public methods

abstract void onRequestChildFocus(View child, View focused)

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

abstract boolean onRequestFocusInDescendants(int direction, Rect previouslyFocusedRect)

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

Public methods

onRequestChildFocus

added in version 22.1.0
void onRequestChildFocus (View child, 
                View focused)

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

Parameters
child View

focused View

onRequestFocusInDescendants

added in version 22.1.0
boolean onRequestFocusInDescendants (int direction, 
                Rect previouslyFocusedRect)

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

Parameters
direction int

previouslyFocusedRect Rect

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