Google is committed to advancing racial equity for Black communities. See how.

OnHeaderClickedListener

interface OnHeaderClickedListener
androidx.leanback.app.HeadersSupportFragment.OnHeaderClickedListener

Interface definition for a callback to be invoked when a header item is clicked.

Summary

Public methods
abstract Unit

Called when a header item has been clicked.

Public methods

onHeaderClicked

abstract fun onHeaderClicked(
    viewHolder: RowHeaderPresenter.ViewHolder!,
    row: Row!
): Unit

Called when a header item has been clicked.

Parameters
viewHolder RowHeaderPresenter.ViewHolder!: Row ViewHolder object corresponding to the selected Header.
row Row!: Row object corresponding to the selected Header.