Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

HeadersSupportFragment.OnHeaderViewSelectedListener

public static interface HeadersSupportFragment.OnHeaderViewSelectedListener

androidx.leanback.app.HeadersSupportFragment.OnHeaderViewSelectedListener


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

public abstract 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.