-
public final class ChatMessageListAdapter extends ListAdapter<DyteChatMessage, BaseMessageViewHolder<out DyteChatMessage>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classChatMessageListAdapter.Companion
-
Field Summary
Fields Modifier and Type Field Description private final AsyncListDiffer<DyteChatMessage>mDiffer
-
Method Summary
Modifier and Type Method Description BaseMessageViewHolder<out DyteChatMessage>onCreateViewHolder(ViewGroup parent, Integer viewType)UnitonBindViewHolder(BaseMessageViewHolder<out DyteChatMessage> holder, Integer position)IntegergetItemViewType(Integer position)-
Methods inherited from class androidx.recyclerview.widget.ListAdapter
bindViewHolder, createViewHolder, getItemId, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver -
Methods inherited from class dyte.io.uikit.screens.chat.ChatMessageListAdapter
getCurrentList, getItem, getItemCount, onCurrentListChanged, submitList, submitList -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onCreateViewHolder
BaseMessageViewHolder<out DyteChatMessage> onCreateViewHolder(ViewGroup parent, Integer viewType)
-
onBindViewHolder
Unit onBindViewHolder(BaseMessageViewHolder<out DyteChatMessage> holder, Integer position)
-
getItemViewType
Integer getItemViewType(Integer position)
-
-
-
-