added in version 24.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

BaseOnItemViewClickedListener

public interface BaseOnItemViewClickedListener

android.support.v17.leanback.widget.BaseOnItemViewClickedListener<T>
Known Indirect Subclasses


Interface for receiving notification when an item view holder is clicked.

Summary

Public methods

abstract void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, T row)

Called when an item inside a row gets clicked.

Public methods

onItemClicked

added in version 24.1.0
void onItemClicked (Presenter.ViewHolder itemViewHolder, 
                Object item, 
                RowPresenter.ViewHolder rowViewHolder, 
                T row)

Called when an item inside a row gets clicked.

Parameters
itemViewHolder Presenter.ViewHolder: The view holder of the item that is clicked.

item Object: The item that is currently selected.

rowViewHolder RowPresenter.ViewHolder: The view holder of the row which the clicked item belongs to.

row T: The row which the clicked item belongs to.