Skip to content

Instantly share code, notes, and snippets.

@akoul889
Created June 23, 2017 10:01
Show Gist options
  • Save akoul889/fee8e476487acb184748576476c50ebb to your computer and use it in GitHub Desktop.
Save akoul889/fee8e476487acb184748576476c50ebb to your computer and use it in GitHub Desktop.
Glide load gist
glideRequestManager.load(author.avatarUrl()).bitmapTransform(new
RoundedCornersTransformation(authorImage.getContext(),
Utilities.dpToPx(authorImage.getResources(), 5), 0))
.error(R.drawable.person_placeholder)
.placeholder(R.drawable.person_placeholder)
.dontAnimate()
.dontTransform().into(authorImage);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment