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).