BaseOnItemViewClickedListener

interface BaseOnItemViewClickedListener<T : Any!>
androidx.leanback.widget.BaseOnItemViewClickedListener

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

Summary

Public methods

abstract Unit
onItemClicked(itemViewHolder: Presenter.ViewHolder!, item: Any!, rowViewHolder: RowPresenter.ViewHolder!, row: T)

Called when an item inside a row gets clicked.

Public methods

onItemClicked

abstract fun onItemClicked(itemViewHolder: Presenter.ViewHolder!, item: Any!, rowViewHolder: RowPresenter.ViewHolder!, row: T): Unit

Called when an item inside a row gets clicked.

Parameters
itemViewHolder Presenter.ViewHolder!: The view holder of the item that is clicked.
item Presenter.ViewHolder!: The item that is currently selected.
rowViewHolder Presenter.ViewHolder!: The view holder of the row which the clicked item belongs to.
row Presenter.ViewHolder!: The row which the clicked item belongs to.