public class GuildChannelManagerAdapter
extends androidx.recyclerview.widget.RecyclerView.Adapter
限定符和类型 | 类和说明 |
---|---|
static interface |
GuildChannelManagerAdapter.OnGuildRoomClickListener |
限定符和类型 | 字段和说明 |
---|---|
static int |
TYPE_EMPTY |
static int |
TYPE_NORMAL |
构造器和说明 |
---|
GuildChannelManagerAdapter() |
限定符和类型 | 方法和说明 |
---|---|
int |
GetCurrentShowingPosition() |
int |
getItemCount() |
int |
getItemViewType(int position) |
java.util.List<GuildMenuListeBean> |
getMenuInfos() |
boolean |
isNullOrEmptyData() |
void |
onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder holder,
int position) |
androidx.recyclerview.widget.RecyclerView.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
setMenuInfos(java.util.List<GuildMenuListeBean> mMenuInfos) |
void |
setOnGuildRoomClickListener(GuildChannelManagerAdapter.OnGuildRoomClickListener mOnGuildRoomClickListener) |
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
public static final int TYPE_NORMAL
public static final int TYPE_EMPTY
public void setOnGuildRoomClickListener(GuildChannelManagerAdapter.OnGuildRoomClickListener mOnGuildRoomClickListener)
public void setMenuInfos(java.util.List<GuildMenuListeBean> mMenuInfos)
public boolean isNullOrEmptyData()
public int GetCurrentShowingPosition()
@NonNull public androidx.recyclerview.widget.RecyclerView.ViewHolder onCreateViewHolder(@NonNull android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter
public void onBindViewHolder(@NonNull androidx.recyclerview.widget.RecyclerView.ViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter
public java.util.List<GuildMenuListeBean> getMenuInfos()
public int getItemViewType(int position)
getItemViewType
在类中 androidx.recyclerview.widget.RecyclerView.Adapter
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter