Ya está disponible la segunda Vista previa para desarrolladores de Android 11; pruébala y comparte tus comentarios.

OnUnhandledKeyListener

interface OnUnhandledKeyListener
androidx.leanback.widget.BaseGridView.OnUnhandledKeyListener

Summary

Public methods

abstract Boolean

Returns true if the key event should be consumed.

Public methods

onUnhandledKey

abstract fun onUnhandledKey(event: KeyEvent!): Boolean

Returns true if the key event should be consumed.