BaseOnItemViewClickedListener


interface BaseOnItemViewClickedListener<T>

Known direct subclasses
OnItemViewClickedListener

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


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

Summary

Public functions

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

Called when an item inside a row gets clicked.

Public functions

onItemClicked

Added in 1.1.0
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: Any!

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.