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

BaseGridView.OnKeyInterceptListener

public static interface BaseGridView.OnKeyInterceptListener

androidx.leanback.widget.BaseGridView.OnKeyInterceptListener


Listener for intercepting key dispatch events.

Summary

Public methods

abstract boolean onInterceptKeyEvent(KeyEvent event)

Returns true if the key dispatch event should be consumed.

Public methods

onInterceptKeyEvent

added in version 1.0.0
public abstract boolean onInterceptKeyEvent (KeyEvent event)

Returns true if the key dispatch event should be consumed.

Parameters
event KeyEvent

Returns
boolean