public class WatchReplayEndAdapter extends AbsRecyclerViewAdapter implements HomePageDataMgr.DataChanged
AbsRecyclerViewAdapter.VideoAdapterListener
mListener, mPageShowListener
构造器和说明 |
---|
WatchReplayEndAdapter(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
void |
clear() |
void |
dataChanged() |
int |
getItemCount() |
long |
getItemId(int position) |
int |
getItemViewType(int position) |
void |
onAttachedToRecyclerView(androidx.recyclerview.widget.RecyclerView recyclerView) |
void |
onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder holder,
int position) |
androidx.recyclerview.widget.RecyclerView.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
setBottomStatus(int type)
底部loading状态
|
setPageShowListener, setVideoAdapterListener
bindViewHolder, createViewHolder, hasObservers, hasStableIds, notifyDataSetChanged, notifyItemChanged, notifyItemChanged, notifyItemInserted, notifyItemMoved, notifyItemRangeChanged, notifyItemRangeChanged, notifyItemRangeInserted, notifyItemRangeRemoved, notifyItemRemoved, onBindViewHolder, onDetachedFromRecyclerView, onFailedToRecycleView, onViewAttachedToWindow, onViewDetachedFromWindow, onViewRecycled, registerAdapterDataObserver, setHasStableIds, unregisterAdapterDataObserver
public void setBottomStatus(int type)
AbsRecyclerViewAdapter
public void clear()
public androidx.recyclerview.widget.RecyclerView.ViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<androidx.recyclerview.widget.RecyclerView.ViewHolder>
public void onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<androidx.recyclerview.widget.RecyclerView.ViewHolder>
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<androidx.recyclerview.widget.RecyclerView.ViewHolder>
public int getItemViewType(int position)
getItemViewType
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<androidx.recyclerview.widget.RecyclerView.ViewHolder>
public long getItemId(int position)
getItemId
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<androidx.recyclerview.widget.RecyclerView.ViewHolder>
public void dataChanged()
dataChanged
在接口中 HomePageDataMgr.DataChanged
public void onAttachedToRecyclerView(androidx.recyclerview.widget.RecyclerView recyclerView)
onAttachedToRecyclerView
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<androidx.recyclerview.widget.RecyclerView.ViewHolder>