Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Article currentArticle = getItem(position);
ImageView image = listItemView.findViewById(R.id.article_image);
if (currentArticle != null) {
Picasso.with(this.getContext())
.load(currentArticle.getmImageUrl())
.centerCrop()
.transform(new CircleTransform(50,0))
.fit()
.into(image);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment