public class AppealUploadImageAdapter extends androidx.recyclerview.widget.RecyclerView.Adapter<AppealUploadImageAdapter.ViewHolder> implements android.view.View.OnClickListener
限定符和类型 | 类和说明 |
---|---|
static interface |
AppealUploadImageAdapter.ItemClickListener |
class |
AppealUploadImageAdapter.ViewHolder |
构造器和说明 |
---|
AppealUploadImageAdapter(android.content.Context mContext,
AppealUploadImageAdapter.ItemClickListener mClickListener) |
限定符和类型 | 方法和说明 |
---|---|
void |
addData(java.lang.String url) |
int |
getItemCount() |
void |
onBindViewHolder(AppealUploadImageAdapter.ViewHolder holder,
int position) |
void |
onClick(android.view.View v) |
AppealUploadImageAdapter.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
void |
remove(java.lang.Object obj) |
void |
setData(java.util.List<android.graphics.Bitmap> 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 AppealUploadImageAdapter(android.content.Context mContext, AppealUploadImageAdapter.ItemClickListener mClickListener)
public void setData(java.util.List<android.graphics.Bitmap> list)
public void addData(java.lang.String url)
public AppealUploadImageAdapter.ViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
onCreateViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<AppealUploadImageAdapter.ViewHolder>
public void onBindViewHolder(AppealUploadImageAdapter.ViewHolder holder, int position)
onBindViewHolder
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<AppealUploadImageAdapter.ViewHolder>
public int getItemCount()
getItemCount
在类中 androidx.recyclerview.widget.RecyclerView.Adapter<AppealUploadImageAdapter.ViewHolder>
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public void remove(java.lang.Object obj)