lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

BaseGridView.OnKeyInterceptListener

public static interface BaseGridView.OnKeyInterceptListener

android.support.v17.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 22.1.0
boolean onInterceptKeyEvent (KeyEvent event)

Returns true if the key dispatch event should be consumed.

Parameters
event KeyEvent

Returns
boolean