features/characters_favorites / com.vmadalin.dynamicfeatures.charactersfavorites.ui.favorite.adapter / CharactersFavoriteAdapter / onBindViewHolder

onBindViewHolder

fun onBindViewHolder(holder: ViewHolder, position: Int): Unit

Called by RecyclerView to display the data at the specified position.

Parameters

holder - The ViewHolder which should be updated to represent the contents of the item at the given position in the data set.

position - The position of the item within the adapter's data set.

See Also

BaseListAdapter.onBindViewHolder