public class AudioFansAdapter
extends androidx.recyclerview.widget.RecyclerView.Adapter<com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder>
构造器和说明 |
---|
AudioFansAdapter(FanClickListener listener) |
限定符和类型 | 方法和说明 |
---|---|
int |
getItemCount() |
void |
onBindViewHolder(com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder holder,
int position) |
com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
setFanModels(java.util.List<com.kxsimon.video.chat.recycler.HeadIcon> list) |
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 AudioFansAdapter(FanClickListener listener)
@NonNull public com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder onCreateViewHolder(@NonNull android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder>
public void onBindViewHolder(@NonNull com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder>
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<com.app.live.activity.adapter.AudioFansAdapter.FanViewHolder>
public void setFanModels(java.util.List<com.kxsimon.video.chat.recycler.HeadIcon> list)