onBindViewHolder

open override fun onBindViewHolder(holder: RecyclerView.ViewHolder, position: Int)

Binds data to a ViewHolder at the specified position.

Parameters

holder

The ViewHolder to bind data to.

position

The position of the item in the data set.