Package ai.nexconn.chatui.base.adapter
Class CommonAdapter
-
- All Implemented Interfaces:
public abstract class CommonAdapter<T> extends MultiItemTypeAdapter<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected intmLayoutIdprotected List<T>mDataprotected ItemViewDelegateManagermItemViewDelegateManagerprotected MultiItemTypeAdapter.OnItemClickListenermOnItemClickListener
-
Constructor Summary
Constructors Constructor Description CommonAdapter(int layoutId)
-
Method Summary
Modifier and Type Method Description abstract voidbindData(ViewHolder holder, T t, int position)-
Methods inherited from class ai.nexconn.chatui.base.adapter.MultiItemTypeAdapter
addData, addItemViewDelegate, addItemViewDelegate, convert, getData, getItem, getItemCount, getItemViewType, isEnabled, onBindViewHolder, onCreateViewHolder, onViewHolderCreated, setData, setData, setListener, setOnItemClickListener, useItemViewDelegateManager -
Methods inherited from class androidx.recyclerview.widget.RecyclerView.Adapter
bindViewHolder, createViewHolder, getItemCount, getItemId, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onCreateViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
bindData
abstract void bindData(ViewHolder holder, T t, int position)
-
-
-
-