public class RecommendBeautyAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter<RecommendBeautyAdapter.RecommendHolder>
限定符和类型 | 类和说明 |
---|---|
static class |
RecommendBeautyAdapter.RecommendHolder |
构造器和说明 |
---|
RecommendBeautyAdapter(android.content.Context context,
java.util.List<RecommendAnchorsBean> list) |
限定符和类型 | 方法和说明 |
---|---|
int |
getItemCount() |
void |
onBindViewHolder(RecommendBeautyAdapter.RecommendHolder holder,
int position) |
RecommendBeautyAdapter.RecommendHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
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 RecommendBeautyAdapter(android.content.Context context, java.util.List<RecommendAnchorsBean> list)
@NonNull public RecommendBeautyAdapter.RecommendHolder onCreateViewHolder(@NonNull android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<RecommendBeautyAdapter.RecommendHolder>
public void onBindViewHolder(@NonNull RecommendBeautyAdapter.RecommendHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<RecommendBeautyAdapter.RecommendHolder>
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<RecommendBeautyAdapter.RecommendHolder>