类 EaseConversationListAdapter
- java.lang.Object
-
- androidx.recyclerview.widget.RecyclerView.Adapter<VH>
-
- io.agora.chat.uikit.adapter.EaseBaseAdapter<EaseBaseRecyclerViewAdapter.ViewHolder<T>>
-
- io.agora.chat.uikit.adapter.EaseBaseRecyclerViewAdapter<EaseConversationInfo>
-
- io.agora.chat.uikit.conversation.adapter.EaseConversationListAdapter
-
public class EaseConversationListAdapter extends EaseBaseRecyclerViewAdapter<EaseConversationInfo>
-
-
嵌套类概要
-
从类继承的嵌套类/接口 io.agora.chat.uikit.adapter.EaseBaseRecyclerViewAdapter
EaseBaseRecyclerViewAdapter.OnItemSubViewClickListener, EaseBaseRecyclerViewAdapter.ViewHolder<T>
-
-
字段概要
-
从类继承的字段 io.agora.chat.uikit.adapter.EaseBaseRecyclerViewAdapter
mContext, mData, mItemSubViewListener, mOnItemClickListener, mOnItemLongClickListener, VIEW_TYPE_EMPTY, VIEW_TYPE_ITEM
-
-
构造器概要
构造器 构造器 说明 EaseConversationListAdapter()EaseConversationListAdapter(EaseConversationSetStyle style)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetItemNotEmptyViewType(int position)If you want to add more view type and use default empty view implementation, you should override the methodEaseBaseRecyclerViewAdapter.ViewHolder<EaseConversationInfo>getViewHolder(android.view.ViewGroup parent, int viewType)Getting ViewHoldervoidsetConversationSetStyle(EaseConversationSetStyle style)-
从类继承的方法 io.agora.chat.uikit.adapter.EaseBaseRecyclerViewAdapter
addData, addData, addData, addData, clearData, getData, getEmptyLayoutId, getEmptyViewHolder, getItem, getItemCount, getItemId, getItemViewType, hideEmptyView, isEmptyViewType, isItemClickEnable, isItemLongClickEnable, itemClickAction, itemLongClickAction, onBindViewHolder, onCreateViewHolder, setData, setEmptyView, setEmptyView, setOnItemClickListener, setOnItemLongClickListener, setOnItemSubViewClickListener
-
从类继承的方法 androidx.recyclerview.widget.RecyclerView.Adapter
bindViewHolder, createViewHolder, findRelativeAdapterPositionIn, getStateRestorationPolicy, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, setStateRestorationPolicy, unregisterAdapterDataObserver
-
-
-
-
构造器详细资料
-
EaseConversationListAdapter
public EaseConversationListAdapter()
-
EaseConversationListAdapter
public EaseConversationListAdapter(EaseConversationSetStyle style)
-
-
方法详细资料
-
getItemNotEmptyViewType
public int getItemNotEmptyViewType(int position)
从类复制的说明:EaseBaseRecyclerViewAdapterIf you want to add more view type and use default empty view implementation, you should override the method
-
getViewHolder
public EaseBaseRecyclerViewAdapter.ViewHolder<EaseConversationInfo> getViewHolder(android.view.ViewGroup parent, int viewType)
从类复制的说明:EaseBaseRecyclerViewAdapterGetting ViewHolder- 指定者:
getViewHolder在类中EaseBaseRecyclerViewAdapter<EaseConversationInfo>- 返回:
-
setConversationSetStyle
public void setConversationSetStyle(EaseConversationSetStyle style)
-
-