Android Glide is a image loading library for Android that supports loading, caching, fetching, decoding, and displaying of images, animated GIFs, and video stills. Use this tag for questions involving the Glide library making sure to provide the version of the library used and the specific feature like [caching], [loading], or [animated-gif].
Questions tagged [android-glide]
2336 questions
18
votes
1 answer
Glide. Cache to External Storage (SD card)
I use Glide for loading Images in my android application.
After 3.5 update, developers provided GlideModule interface.
According to this article (Disk Cache) I can set cache directory, using setDiskCache method and ExternalCacheDiskCacheFactory.
But…

Volodymyr Kulyk
- 6,455
- 3
- 36
- 63
18
votes
5 answers
Warning using Glide in Recyclerview
I have just started moving from Universal Image Loader to Glide. However, when scrolling down and up again in recyclerview I get tons of warning messages.
W/Bitmap: Called reconfigure on a bitmap that is in use! This may cause graphical…

Bendik
- 217
- 1
- 2
- 7
17
votes
3 answers
Glide - load single frame from video at specific time?
I'm trying to use Glide to step through frames in a video file (without running into the keyframe seeking issue that Android suffers from). I can do this in Picasso by doing something like:
picasso = new…

jgads
- 257
- 1
- 3
- 13
16
votes
2 answers
Glide FileNotFoundException: No content provider when loading images from internet
I made my own rest api and now it just has endpoint where I show some images. Here how it looks in spring boot application
@GetMapping("/image/{name:.+}")
public byte[] getImage(@PathVariable(value = "name") String name) {
return…

David
- 3,055
- 4
- 30
- 73
16
votes
6 answers
How to reload image in Glide from the same url?
I am using Glide image loader to load an image from a specific URL, now if I update the image to the same URL, Glide is still showing the cached image in my imageview. How to reload the image from the same URL?

Ajay Chauhan
- 1,471
- 4
- 17
- 37
16
votes
12 answers
Android Studio 3.x: error: cannot find symbol class GlideApp
I updated Android Studio from 2.x to 3.x last week end. The project migration was perfect, build was great. And now, from 2 hours, I can't explain why, I can't build, I have this error on Glide now:
Error:(26, 22) error: cannot find symbol class…

anthony
- 7,653
- 8
- 49
- 101
16
votes
4 answers
Is it possible to use Glide to download image to load into a TextView?
In my app I download an image from an URL and set it into an ImageView through Glide, however, I'm trying to remove a few unnecessary layouts, so is it possible to use Glide to download an image and set into to TextView?
try {
…

RedEagle
- 2,358
- 3
- 13
- 18
16
votes
4 answers
Using Glide to load bitmap into ImageView
How can i use Glide library to load Bitmap into my ImageView?
I want to create a custom image with text and load it into imageview using Glide.
This is my method to create custom bitmap with text
public Bitmap imageWithText(String text) {
…

Bobby Redjeans
- 575
- 1
- 4
- 18
16
votes
7 answers
Why do my images shrink after loading with glide library
Hi I'm populating a gridview with glide image loader library when they first get called into my fragment they look like this
But after scrolling up and down they are resized and look like this
Is this something I'm doing with my gridview, the…

Martin Seal
- 616
- 2
- 14
- 32
15
votes
6 answers
How to get original image size by using Glide on Android?
I am loading images from dynamic sources and loading them in my app. However sometimes the images are so small and looks bad in my app. What I want to do is get image size and if it is smaller than 5x5, don't show the ImageView at all.
How to…

Swifty Swift
- 175
- 1
- 1
- 7
15
votes
4 answers
What are advances of glide recyclerview integration?
I just tried to use glide recyclerview integration and read a document about it and it said: "The RecyclerView integration library makes the RecyclerViewPreloader available in your application. RecyclerViewPreloader can automatically load images…

vuhung3990
- 6,353
- 1
- 45
- 44
15
votes
4 answers
How to load gif image in placeholder of Glide/Picasso/Ion etc
Not able to find perfect solution for loading a gif image in placeholder
Glide
.with(context)
.load("imageUrl")
.asGif()
.placeholder(R.drawable.gifImage)
.crossFade()
.into(imageView)
Tried asGif() property of Glide…

Dinesh Sunny
- 4,663
- 3
- 30
- 29
15
votes
1 answer
How to use Glide in remoteViews?
I'm using Glide for all loading images from server, but I'm having troubleshooting trying to set them in a correct way to notifications and RemoteControlClientCompat (that cool thing with lock screens). I am developing a music player, so every time…

Damia Fuentes
- 5,308
- 6
- 33
- 65
14
votes
5 answers
Glide can't load file from internal storage
I have an Activity in which I download a zipfile of images and then unzip in the getFilesDir(). Path is like this :
/data/user/0/packagename/files/files/example.png
When I try to load these images however, they're not showing.
I'm using this…

Stefan
- 2,098
- 2
- 18
- 29
14
votes
5 answers
How to load Image into ImageView from Url using Glide v4.0.0RC1
I just updated Glide library from v3 to v4 in my application.
But Now I am not able to load image from the url. Previously it was working fine with v3.
Here is my Glide…

sagar suri
- 4,351
- 12
- 59
- 122