-
-
Save rinav/3967aabdf9322ae79082a44df686086b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // error image in the phone | |
| Glide.with(context) | |
| .load("yourImageURL") | |
| .placeholder(R.drawable.ic_image) | |
| .error(R.drawable.ic_error) | |
| .into(imageView) | |
| // load another image error | |
| Glide.with(context) | |
| .load("yourImageURL") | |
| .placeholder(R.drawable.ic_image) | |
| .error(Glide.with(context).load("anotherImageURL")) | |
| .into(imageView) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment