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
7
votes
2 answers
Image grayscale using glide library
I am using glide library to load image url in image view.
Glide.with(context)
.load(imageurl)
.apply(RequestOptions.circleCropTransform())
.into(holder.thumbnail);
Actually, the image is loaded fine…

Jack
- 223
- 3
- 13
7
votes
1 answer
Error:In FontFamilyFont, unable to find attribute android:font after Glide 4.4 upgrade
I am using Glide 3.7 in my project and I want to update it to latest version because of the performance issues. I was updated Glide from Gradle as described in Glide web site. But after update, I got some errors while Gradle build process.
Error:In…

enesigneci
- 301
- 1
- 4
- 13
7
votes
0 answers
How to reuse cached image in Glide?
Is it possible to keep a reference to the loaded image into cache (on disk) and reuse it later in Glide 4?
Let's say I want to load an image like this:
Future future = Glide.with(context).asBitmap().load(resourceId).submit(300, 200);
I want…

Alex
- 11,451
- 6
- 37
- 52
7
votes
0 answers
How to add .gif support to the android push?
I am trying to add .gif support to the FCM push notification. I am receiving push with proper url. But I am unable to find out a way to show .gif images in Big Image.
Is there any work around to show .gif in the push of android?
Is it Glide library…

Chinmay
- 423
- 5
- 19
7
votes
2 answers
Image flickering when Glide loads it
I have a list of image views and some of them will be frequently updated with a fixed url. By appending a timestamp query parameter in the end of the url. It works, but I found when it updates it will also clear the current content. Any way to…

Dayo Choul
- 861
- 2
- 9
- 23
7
votes
2 answers
Placeholder/Error/Fallback in Glide v4
i am using latest version of Glide as of now which is glide:4.0.0-RC1 and not able to find methods like placeholder, error, fallback e.t.c. Probably they have provided alternate for it but i am not getting it. Anybody know about there alternatives…

Safeer
- 1,407
- 1
- 25
- 29
7
votes
2 answers
How to add listener correctly to glide
I am using glide for displaying album art but somehow I am not able to display it. I want to add listener to glide for locating errors but its not working. It shows error saying :
listener(com.bumptech.glide.request.RequestListener) in…
user8232051
7
votes
3 answers
Cannot resolve method using(com.firebase.ui.storage.images.FirebaseImageLoader)
I'm trying to use the awesome Glide integration provided by FirebaseUI, but I am unable to do so.
I have followed everything described here: Downloading images with FirebaseUI
Cannot resolve method…

reavcn
- 300
- 2
- 14
7
votes
4 answers
Sharing image using intent with Glide library- Image is null always
I have a custom listview which is working good, now i want to share the image and text from the list. I have found a step how to do it from SO but image is always null when i click on Share button.
The imageview loading images using Glide.
if…

user2269164
- 1,095
- 2
- 15
- 31
7
votes
3 answers
Remove image set by Glide and use imageView.setImageBitmap()
I have a fragment where at first an Image is set to an imageView using Glide (image url fetched from internet). Then upon click on the imageview a new image can be chose from either gallery or camera intent. the problem is when I try to set the…

Nilabja
- 4,206
- 5
- 27
- 45
7
votes
3 answers
How to download an image using Glide via HTTP POST method
Server provides the API to load image through Post request, whose body looks like {
"image_id": someId,
"session_id": "someId"
}
Response - stream.
How to download an image using Glide via HTTP POST method?

Dmitry Isachenko
- 179
- 1
- 8
7
votes
1 answer
Glide Image cache with id not url
I am working in Android app that load images from Amazon S3.
The Image URL randomly changes with token and expiry key. For that reason i can't cache the image Glide.
There is any way to set Glide cache key as any static ID(like image id) not url.
I…

user968571
- 141
- 1
- 10
7
votes
1 answer
How to use Glide with dagger2
I am developing a music application. I want to load artist's image from LastFM so i do this this way
1. I created a class ArtistImageLoader extends BaseGlideUrlLoader.
2. In the getUrl method i used retrofit2 to get the artist's image url from…

Kien Vi Thanh
- 71
- 1
- 5
7
votes
4 answers
Loading image with glide is slow
I have app connect with server and when pics load seems so slow and when scroll that up and down seems glide want read image again!
This is my adapter of glide:
DataAdapter:
public class DataAdapter extends…

Erfan
- 3,059
- 3
- 22
- 49
7
votes
2 answers
Android, Glide shows wrong image for about one second
I'm using Glide library for loading images from URL, which I get from Graph Request (Facebook). It's used in RecyclerAdapter. When I'm scrolling, each ImageView shows wrong picture for about less than one second, then correct one. Here is the…

Panczur
- 633
- 1
- 9
- 26