Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

BrowseFrameLayout.OnFocusSearchListener

public static interface BrowseFrameLayout.OnFocusSearchListener

android.support.v17.leanback.widget.BrowseFrameLayout.OnFocusSearchListener


Interface for selecting a focused view in a BrowseFrameLayout when the system focus finder couldn't find a view to focus.

Summary

Public methods

abstract View onFocusSearch(View focused, int direction)

Returns the view where focus should be requested given the current focused view and the direction of focus search.

Public methods

onFocusSearch

added in version 22.1.0
View onFocusSearch (View focused, 
                int direction)

Returns the view where focus should be requested given the current focused view and the direction of focus search.

Parameters
focused View

direction int

Returns
View