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

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