-
public final class PreviousPollsAdaptor extends ListAdapter<PreviousPollsInfo, PreviewPollsViewBinding>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPreviousPollsAdaptor.Companion
-
Field Summary
Fields Modifier and Type Field Description private final AsyncListDiffer<PreviousPollsInfo>mDiffer
-
Constructor Summary
Constructors Constructor Description PreviousPollsAdaptor(Function1<PreviousPollsInfo, Unit> view)
-
Method Summary
Modifier and Type Method Description PreviewPollsViewBindingonCreateViewHolder(ViewGroup parent, Integer viewType)UnitonBindViewHolder(PreviewPollsViewBinding holder, Integer position)-
Methods inherited from class androidx.recyclerview.widget.ListAdapter
bindViewHolder, canRestoreState, createViewHolder, findRelativeAdapterPositionIn, getItemId, getItemViewType, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver -
Methods inherited from class live.hms.roomkit.ui.polls.previous.PreviousPollsAdaptor
getCurrentList, getItem, getItemCount, onCurrentListChanged, submitList, submitList -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
PreviousPollsAdaptor
PreviousPollsAdaptor(Function1<PreviousPollsInfo, Unit> view)
-
-
Method Detail
-
onCreateViewHolder
PreviewPollsViewBinding onCreateViewHolder(ViewGroup parent, Integer viewType)
-
onBindViewHolder
Unit onBindViewHolder(PreviewPollsViewBinding holder, Integer position)
-
-
-
-