Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onBindViewHolder #39

Open
vineet23 opened this issue May 3, 2020 · 0 comments
Open

onBindViewHolder #39

vineet23 opened this issue May 3, 2020 · 0 comments

Comments

@vineet23
Copy link

vineet23 commented May 3, 2020

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);
}
});
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant