added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Deprecated since version 27.1.0

HeadersFragment.OnHeaderViewSelectedListener

public static interface HeadersFragment.OnHeaderViewSelectedListener

android.support.v17.leanback.app.HeadersFragment.OnHeaderViewSelectedListener


This interface was deprecated in API level 27.1.0.
use HeadersSupportFragment

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

Summary

Public methods

abstract void onHeaderSelected(RowHeaderPresenter.ViewHolder viewHolder, Row row)

Called when a header item has been selected.

Public methods

onHeaderSelected

added in version 22.1.0
void onHeaderSelected (RowHeaderPresenter.ViewHolder viewHolder, 
                Row row)

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.