BrowseFrameLayout.OnChildFocusListener


public interface BrowseFrameLayout.OnChildFocusListener


Interface for managing child focus in a BrowseFrameLayout.

Summary

Public methods

abstract void

See requestChildFocus.

abstract boolean
onRequestFocusInDescendants(
    int direction,
    @Nullable Rect previouslyFocusedRect
)

See onRequestFocusInDescendants.

Public methods

onRequestChildFocus

Added in 1.1.0
abstract void onRequestChildFocus(@Nullable View child, @Nullable View focused)

See requestChildFocus.

onRequestFocusInDescendants

Added in 1.1.0
abstract boolean onRequestFocusInDescendants(
    int direction,
    @Nullable Rect previouslyFocusedRect
)

See onRequestFocusInDescendants.

Returns
boolean

True if handled by listener, otherwise returns onRequestFocusInDescendants.