features/characters_list / com.vmadalin.dynamicfeatures.characterslist.ui.list.adapter / CharactersListAdapter / 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