ItemBindHolder

open class ItemBindHolder<T : Any>(var binding: ViewDataBinding) : RecyclerView.ViewHolder

Applies to BaseBindAdapter , BaseBindListAdapter and BaseBindPagingAdapter ViewHolder. If you want to customize your own ViewHolder, you should make your ViewHolder inherit ItemBindHolder and use it as the return value of setViewHolder.

Since

1.1.1

Constructors

Link copied to clipboard
constructor(binding: ViewDataBinding)

Properties

Link copied to clipboard
protected var binding: ViewDataBinding

Functions

Link copied to clipboard
open fun onBindData(variableId: Int, item: T)