BrowseFrameLayout.OnFocusSearchListener


interface 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 functions

View?
onFocusSearch(focused: View?, direction: Int)

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

Public functions

onFocusSearch

Added in 1.1.0
fun onFocusSearch(focused: View?, direction: Int): View?

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