baserecyclerviewadapter / com.skydoves.baserecyclerviewadapter / BaseViewHolder

BaseViewHolder

abstract class BaseViewHolder : ViewHolder, OnClickListener, OnLongClickListener

BaseViewHolder is an abstract class for structuring the base view holder class.

Constructors

<init>

BaseViewHolder(view: View)

BaseViewHolder is an abstract class for structuring the base view holder class.

Functions

bindData

abstract fun bindData(data: Any): Unit

binds data to the view holder class.

context

fun context(): Context

gets the context.

view

fun view(): View

gets the view of the RecyclerView.ViewHolder.