commons/ui / com.vmadalin.commons.ui.base / BaseViewHolder

BaseViewHolder

abstract class BaseViewHolder<T : ViewDataBinding> : ViewHolder

Base view holder to standardize and simplify initialization for this component.

Parameters

binding - View data binding generated class instance.

See Also

RecyclerView.ViewHolder

Constructors

<init>

Base view holder to standardize and simplify initialization for this component.

BaseViewHolder(binding: T)

Properties

binding

View data binding generated class instance.

val binding: T