Created
March 19, 2016 13:34
-
-
Save fnzainal/aeae1e90b4667719bb1d to your computer and use it in GitHub Desktop.
adding header on url glide image loader
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
GlideUrl glideUrl = new GlideUrl(url, new LazyHeaders.Builder() | |
.addHeader("key","value").build()); | |
Glide.with(getApplicationContext()) | |
.load(glideUrl) | |
.into(imageView); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment