OnHeaderViewSelectedListener

interface OnHeaderViewSelectedListener
androidx.leanback.app.HeadersSupportFragment.OnHeaderViewSelectedListener

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

Summary

Public methods

abstract Unit

Called when a header item has been selected.

Public methods

onHeaderSelected

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

Called when a header item has been selected.

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