# PictureImageGridAdapter

public class PictureImageGridAdapter

## Constructors

PictureImageGridAdapter
Link copied to clipboard
public void PictureImageGridAdapter(Context context, PictureSelectionConfig config)

## Types

HeaderViewHolder
Link copied to clipboard
public class HeaderViewHolder
OnPhotoSelectChangedListener
Link copied to clipboard
public interface OnPhotoSelectChangedListener
ViewHolder
Link copied to clipboard
public class ViewHolder

## Properties

images
Link copied to clipboard
public List<LocalMedia> images

## Functions

bindImagesData
Link copied to clipboard
public void bindImagesData(List<LocalMedia> images)
bindSelectImages
Link copied to clipboard
public void bindSelectImages(List<LocalMedia> images)
getImages
Link copied to clipboard
public List<LocalMedia> getImages()
getItemCount
Link copied to clipboard
public int getItemCount()
getItemViewType
Link copied to clipboard
public int getItemViewType(int position)
getSelectedImages
Link copied to clipboard
public List<LocalMedia> getSelectedImages()
isSelected
Link copied to clipboard
public boolean isSelected(LocalMedia image)
onBindViewHolder
Link copied to clipboard
public void onBindViewHolder(ViewHolder holder, int position)
onCreateViewHolder
Link copied to clipboard
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType)
selectImage
Link copied to clipboard
public void selectImage(PictureImageGridAdapter.ViewHolder holder, boolean isChecked, boolean isAnim)
选中的图片并执行动画
setOnPhotoSelectChangedListener
Link copied to clipboard
public void setOnPhotoSelectChangedListener(PictureImageGridAdapter.OnPhotoSelectChangedListener imageSelectChangedListener)
setShowCamera
Link copied to clipboard
public void setShowCamera(boolean showCamera)