OnItemViewSelectedListener


interface OnItemViewSelectedListener : BaseOnItemViewSelectedListener


Interface for receiving notification when a row or item becomes selected. The concept of current selection is different than focus. A row or item can be selected without having focus; for example, when a row header view gains focus then the corresponding row view becomes selected. This interface expects row object to be sub class of Row.

Summary

Inherited functions

From androidx.leanback.widget.BaseOnItemViewSelectedListener
Unit
onItemSelected(
    itemViewHolder: Presenter.ViewHolder!,
    item: Any!,
    rowViewHolder: RowPresenter.ViewHolder!,
    row: T!
)

Called when a row or a new item becomes selected.