Last active
January 3, 2018 13:07
-
-
Save Ansh1234/1eb671a6efad2c5c83e61887996daaca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RequestCreator requestCreator = picasso.load("http://i.imgur.com/DvpvklR.png"); | |
requestCreator.tag("TagName"); | |
requestCreator.memoryPolicy(MemoryPolicy.NO_CACHE); | |
requestCreator.networkPolicy(NetworkPolicy.NO_STORE); | |
requestCreator.placeholder(R.drawable.placeholder); | |
requestCreator.error(R.drawable.error); | |
//Finally load into imageView. | |
requestCreator.into(imageView); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment