class CharactersFavoriteAdapter : BaseListAdapter<CharacterFavorite>
Class for presenting characters favorite List data in a RecyclerView, including computing diffs between Lists on a background thread.
See Also
<init> |
Class for presenting characters favorite List data in a RecyclerView, including computing diffs between Lists on a background thread. CharactersFavoriteAdapter() |
onBindViewHolder |
Called by RecyclerView to display the data at the specified position. fun onBindViewHolder(holder: ViewHolder, position: Int): Unit |
onCreateViewHolder |
Called when RecyclerView needs a new RecyclerView.ViewHolder of the given type to represent an item. fun onCreateViewHolder(parent: ViewGroup, inflater: LayoutInflater, viewType: Int): CharacterFavoriteViewHolder |