public class OfficialChannelAdapter
extends androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder>
限定符和类型 | 类和说明 |
---|---|
static interface |
OfficialChannelAdapter.OnHeadClickListener |
构造器和说明 |
---|
OfficialChannelAdapter(android.content.Context context,
OfficialChannelListInfo officialListInfo,
java.lang.String vid) |
限定符和类型 | 方法和说明 |
---|---|
int |
getItemCount() |
void |
onBindViewHolder(com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder holder,
int position) |
com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
setData(OfficialChannelListInfo officialListInfo) |
void |
setmListener(OfficialChannelAdapter.OnHeadClickListener mListener) |
bindViewHolder, createViewHolder, getItemId, getItemViewType, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onAttachedToRecyclerView, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
public OfficialChannelAdapter(android.content.Context context, OfficialChannelListInfo officialListInfo, java.lang.String vid)
public void setData(OfficialChannelListInfo officialListInfo)
public void onBindViewHolder(com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder>
public com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder>
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.kxsimon.video.chat.official.live.view.OfficialChannelAdapter.BaseViewHolder>
public void setmListener(OfficialChannelAdapter.OnHeadClickListener mListener)