added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0

BrowseFrameLayout.OnFocusSearchListener

public static interface BrowseFrameLayout.OnFocusSearchListener

androidx.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 1.0.0
public 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.

Parameters
focused View

direction int

Returns
View