public class LiveMusicRecyAdapter extends AbsRecyclerViewAdapter implements SlidingMessageView.OnSlidingMessageListener
AbsRecyclerViewAdapter.VideoAdapterListener
限定符和类型 | 字段和说明 |
---|---|
com.app.live.livemusic.LiveMusicRecyAdapter.LiveMusicCallBack |
liveMusicCallBack |
mListener, mPageShowListener
构造器和说明 |
---|
LiveMusicRecyAdapter(android.content.Context mContext,
com.app.live.livemusic.LiveMusicRecyAdapter.LiveMusicCallBack liveMusicCallBack) |
限定符和类型 | 方法和说明 |
---|---|
void |
closeMenu() |
int |
getItemCount() |
java.lang.Boolean |
isMenuOpen() |
void |
onBindViewHolder(androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolder,
int position) |
androidx.recyclerview.widget.RecyclerView.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
onDownOrMove(SlidingMessageView slidingButtonView) |
void |
onMenuIsOpen(android.view.View view) |
void |
setData(java.util.ArrayList<MusicBean> mMusicBeans) |
setBottomStatus, setPageShowListener, setVideoAdapterListener
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 com.app.live.livemusic.LiveMusicRecyAdapter.LiveMusicCallBack liveMusicCallBack
public LiveMusicRecyAdapter(android.content.Context mContext, com.app.live.livemusic.LiveMusicRecyAdapter.LiveMusicCallBack liveMusicCallBack)
public void setData(java.util.ArrayList<MusicBean> mMusicBeans)
@NonNull public androidx.recyclerview.widget.RecyclerView.ViewHolder onCreateViewHolder(@NonNull android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<androidx.recyclerview.widget.RecyclerView.ViewHolder>
public void onBindViewHolder(@NonNull androidx.recyclerview.widget.RecyclerView.ViewHolder viewHolder, 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 void onMenuIsOpen(android.view.View view)
public void onDownOrMove(SlidingMessageView slidingButtonView)
public java.lang.Boolean isMenuOpen()
public void closeMenu()