ZGallery icon indicating copy to clipboard operation
ZGallery copied to clipboard

onBindViewHolder

Open vineet23 opened this issue 4 years ago • 0 comments

This is the part of GridImagesAdapter downloaded when I implemented Gallery, Which is different when I view it on github. Please Help

public void onBindViewHolder(ImageViewHolder holder, final int position) { Glide.with(this.mActivity).load((String)this.imageURLs.get(position)).placeholder(this.imgPlaceHolderResId != -1 ? this.imgPlaceHolderResId : drawable.placeholder).into(holder.image); holder.itemView.setOnClickListener(new OnClickListener() { public void onClick(View view) { GridImagesAdapter.this.clickListener.onClick(position); } }); }

vineet23 avatar May 03 '20 07:05 vineet23