OnChildFocusListener
interface OnChildFocusListener
androidx.leanback.widget.BrowseFrameLayout.OnChildFocusListener |
Interface for managing child focus in a BrowseFrameLayout.
Summary
Public methods | |
---|---|
abstract Unit |
onRequestChildFocus(child: View!, focused: View!) See |
abstract Boolean |
onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect!) See |
Public methods
onRequestChildFocus
abstract fun onRequestChildFocus(
child: View!,
focused: View!
): Unit
See android.view.ViewGroup#requestChildFocus( * android.view.View, android.view.View)
.
onRequestFocusInDescendants
abstract fun onRequestFocusInDescendants(
direction: Int,
previouslyFocusedRect: Rect!
): Boolean
See android.view.ViewGroup#onRequestFocusInDescendants( * int, android.graphics.Rect)
.
Return | |
---|---|
Boolean |
True if handled by listener, otherwise returns . |