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
8
votes
1 answer
Android library Picasso or Glide?
What is a better library for Android. Picasso or Glide and why?
I'm using Picasso at this moment but the images are loading very slow. Is Glide faster then Picasso?

Z. Joe
- 233
- 2
- 4
- 10
8
votes
3 answers
Trying to bind glide in Xamarin
I want to bind the library Glide in Xamarin, but I am getting stuck oncom.bumptech.glide.BitmapOptions.
As this is an interface, it binds to IBitmapOptions, but it can't find that name in that namespace. I have tried looking in the output folder,…

vrwim
- 13,020
- 13
- 63
- 118
8
votes
2 answers
glide force load cached image, don't care what resolution
I've been working on this for a while now and it is time to ask a SO question on it.
Find and load cached Image in Glide looks like it, but following the links and the discussion on Glide's page it doesn't work for me.
On Activity A, I load the…

Boy
- 7,010
- 4
- 54
- 68
8
votes
1 answer
Use glide to load bitmap to ImageView
I would like to use Glide to load bitmap to ImageView after cropping and re-sizing a bitmap.
I don't want to use ImageView.setImageBitmap(bitmap); because I am loading lots of images and it might be taking up some memory, although the images are…

Tosin Onikute
- 3,883
- 6
- 38
- 61
8
votes
1 answer
When loading a Bitmap using Glide who is responsible for recycling it?
I'm using Glide to load bitmaps to create a gif.
for (int i = 0, count = files.size(); i < count; i++) {
Bitmap img = Glide.with(context)
.load(files.get(i))
.asBitmap()
.centerCrop()
…

AngusMorton
- 257
- 1
- 9
8
votes
1 answer
Does Glide queue up every image request? Recyclerview loads are very slow when scrolling
I have been seeing very long load times for images in our app using Glide 3.6 + a RecyclerView using a GridLayoutManager. The images are all around 20kb-40kb. It seems that glide queues up all the requests which causes the images to take quite…

IZI_Shadow_IZI
- 1,921
- 4
- 30
- 59
8
votes
6 answers
How to load a URI with "content://" prefix using Glide Android?
I'm trying to load a Contact photo with URI "content://com.android.contacts/contacts/295" by using Glide.
When I use
Glide.with(context).load(Uri.parse(contactPhoto).into(imageview)
Glide gives me a FileNotFoundException…

Ahmed I. Khalil
- 743
- 6
- 20
7
votes
2 answers
Glide equivalent in flutter
Im my SDK sample app in native android, an image is loaded using Glide library as follows.
private void updateProfilePhoto(BadgeUIEntity badgeUIEntity) {
String profilePhotoChecksum = badgeUIEntity.profilePhotoChecksum();
String…

Febin K R
- 886
- 2
- 11
- 21
7
votes
1 answer
Glide gradle not recognizing ModelLoader
I'm trying to use FirebaseUI to retrieve a photo from Firebase Storage and show it directly in my imageview using Glide.
In order to do that I've created a ModelLoader as shown in Firebase Documentation:
import com.bumptech.glide.Glide;
import…

André Nogueira
- 3,363
- 3
- 10
- 16
7
votes
3 answers
How to use a Lottie animation file as a placeholder with glide
I am using Glide to load images to my activity (inside a recycler view) and I want to use a Lottie loading animation file as a place holder.
so this is my glide code:
Glide.with(mContext)
.load(PATH_TO_FILE)
…

TheAndoOne
- 109
- 1
- 7
7
votes
3 answers
Android MVVM: Does using Glide directly in a fragment break the MVVM pattern?
I'm trying to follow the MVVM pattern in a new App I'm currently writing.
Basically it gets a list of items in JSON from my REST-Backend and displays it in a RecycleView inside my fragment.
I created a repository, which fetches the data and hands…

Bastian C. Sharp
- 83
- 1
- 5
7
votes
1 answer
Load already fetched image when offline in Glide for Android
Am using Glide version 4.8.0
And for loading an image I do this
GlideApp
.with(HomePageFragment.this)
.load(remoteURL)
.diskCacheStrategy(DiskCacheStrategy.ALL)
.into(mImageView);
When the device is connected to Internet the image…

kanudo
- 2,119
- 1
- 17
- 33
7
votes
2 answers
Android popBackStackImmediate can not remove Glide's SupportRequestManagerFragment
activity.supportFragmentManager.popBackStackImmediate()
popBackStackImmediate can not remove Glide's SupportRequestManagerFragment, do you know why? and is there any other way I can remove the SupportRequestManagerFragment from fragments stack?

Expert wanna be
- 10,218
- 26
- 105
- 158
7
votes
4 answers
Stretch Image to fit Image View using Glide
I want to make an image fit into my image view. I am loading the image programmatically using Glide. It does load the image but does not stretch it to fit my entire image view. It leaves blank spaces on both sides like this
I want to display my…

Ashutosh Patoa
- 294
- 4
- 20
7
votes
1 answer
How to load Glide cached image in NotificationCompat.Builder.setLargeIcon()?
Like this image I am trying to set notification large icon as user profile thumbnail
like whatsapp or other chatting apps
I have tried
Glide.with(context)
.asBitmap()
.load(messageNotification.getLargeIcon())
…

SAKhan
- 249
- 4
- 16