Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0
Deprecated since version 1.0.0

HeadersFragment.OnHeaderClickedListener

public static interface HeadersFragment.OnHeaderClickedListener

androidx.leanback.app.HeadersFragment.OnHeaderClickedListener


This interface was deprecated in API level 1.0.0.
use HeadersSupportFragment

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

Summary

Public methods

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

Called when a header item has been clicked.

Public methods

onHeaderClicked

added in version 1.0.0
public abstract void onHeaderClicked (RowHeaderPresenter.ViewHolder viewHolder, 
                Row row)

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.