Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kayvannj on github.
  • I am kayvan (https://keybase.io/kayvan) on keybase.
  • I have a public key ASAUadM1izvl5uXpuawx6Ocu9SPDrOcfvGfakgp1b7ATfgo

To claim this, I am signing this object:

{"branches":{"master":{"target":"C1","id":"master","remoteTrackingBranchID":null},"bug1":{"target":"C3","id":"bug1","remoteTrackingBranchID":null},"staging":{"target":"C1","id":"staging","remoteTrackingBranchID":null},"bug2":{"target":"C4","id":"bug2","remoteTrackingBranchID":null},"f1":{"target":"C6","id":"f1","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"},"C2":{"parents":["C1"],"id":"C2"},"C3":{"parents":["C2"],"id":"C3"},"C4":{"parents":["C1"],"id":"C4"},"C5":{"parents":["C0"],"id":"C5"},"C6":{"parents":["C5"],"id":"C6"}},"tags":{},"HEAD":{"target":"f1","id":"HEAD"}}
@kayvannj
kayvannj / gist:c71d59a469d1102b7c8f
Last active August 29, 2015 14:17
Picasso Transformation for Circle Bitmap
/**
* This is a picasso Transformation that can be used as follows
*
* Picasso.with(mContext)
* .load(someUrl)
* .transform(new CircleTransformation())
* .into(yourImageView);
*
* Credits to https://gist.github.com/aprock/6213395 for most of the code
* /