BrowseFrameLayout.OnChildFocusListener


interface BrowseFrameLayout.OnChildFocusListener


Interface for managing child focus in a BrowseFrameLayout.

Summary

Public functions

Unit
onRequestChildFocus(child: View?, focused: View?)

See requestChildFocus.

Boolean
onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect?)

See onRequestFocusInDescendants.

Public functions

onRequestChildFocus

Added in 1.1.0
fun onRequestChildFocus(child: View?, focused: View?): Unit

See requestChildFocus.

onRequestFocusInDescendants

Added in 1.1.0
fun onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect?): Boolean

See onRequestFocusInDescendants.

Returns
Boolean

True if handled by listener, otherwise returns onRequestFocusInDescendants.