-
public class ReactionListItemAdapter extends RecyclerView.Adapter<ReactionListItemAdapter.MyViewHolder>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classReactionListItemAdapter.MyViewHolder
-
Constructor Summary
Constructors Constructor Description ReactionListItemAdapter(Context context, Map<String, Integer> reactionCountMap, Map<String, String> reactionTypes, MessageListViewStyle style)
-
Method Summary
Modifier and Type Method Description ReactionListItemAdapter.MyViewHolderonCreateViewHolder(ViewGroup parent, int viewType)voidonBindViewHolder(ReactionListItemAdapter.MyViewHolder holder, int position)intgetItemCount()-
Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter
bindViewHolder, canRestoreState, createViewHolder, findRelativeAdapterPositionIn, getItemCount, getItemId, getItemViewType, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onCreateViewHolder
ReactionListItemAdapter.MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
-
onBindViewHolder
void onBindViewHolder(ReactionListItemAdapter.MyViewHolder holder, int position)
-
getItemCount
int getItemCount()
-
-
-
-