The Android Developer Challenge is back! Submit your idea before December 2.

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 RowHeaderPresenter.ViewHolder!: Row object corresponding to the selected Header.