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
0
votes
0 answers
Download Image from URI And Store it in the Folder
I'm getting a list from the service side with 10 image Uris. I was showing all those images in the Fragment Pages using Glide Library, but glide is taking time to load the image and show it in the UI. so I was planning to download all the images and…

sooraj
- 41
- 2
- 8
0
votes
3 answers
save the pictures in the cache forever with Glide
I want to save the pictures in the cache as long as possible. You can suggest a code to do this process. Thank you.

hamdy
- 1
- 2
0
votes
1 answer
Xamarin android Glide webp animation
I'm using this library (Xamarin binding library of Glide), to display Gif in my app. But i would like to display Webp animations to save some space in my app.
Glide.With(context)
.Load(url)
.Into(imageView);
But the animation is locked on…

Samih EL SAKHAWI
- 429
- 4
- 17
0
votes
2 answers
Android: Floating Action Button Image Resource and Image Drawable Issue
Library: implementation 'com.google.android.material:material:1.0.0'
XML:

Sharan
- 1,055
- 3
- 21
- 38
0
votes
0 answers
Android Kotlin Glide Image Sizes Change when Scrolling
I am using Glide for Kotlin from Google as part of the Firebase suite. I'm downloading jpg photos from Firebase.
implementation 'com.firebaseui:firebase-ui-storage:6.4.0'
When I sroll, the images change size. The faster I scroll, the smaller some…

Jacksonsox
- 1,114
- 15
- 25
0
votes
0 answers
RecyclerView items showing wrong info on tiles
I've got a RecyclerView with a dynamic number of tiles. Data is loaded from the server and displayed in these tiles. Glide is used to load images into an avatar on these tiles. Issue is that every time I refresh the list, or add more items to it, it…

Asim
- 6,962
- 8
- 38
- 61
0
votes
0 answers
Can't change ImageView if Glide doesn't find URL
I have a little problem using Glide. In my app I use Glide to show pictures from Firestore documents in an ImageView. This picture can be changed by the user if they tap on the ImageView.
This works perfectly except for one condition:
I have a field…

d_vain
- 25
- 4
0
votes
0 answers
Music covers read incorrectly
Instead of the code reading the album cover inside the folder, it reads the covers of the playlist
private ArrayList folderNames;
static ArrayList musicFiles;
private Context mContext;
public FolderAdapter(ArrayList…

Whiskey
- 9
- 3
0
votes
3 answers
How to display an imageview from a url with holder
to display the images on the Imageview from an url I use this code, but without success :
class Article(var id:Int,var nom:String,var lienimg:String, var ifram:String){
}
class ArticleAdapter (var articles:ArrayList) :…

admindunet
- 21
- 7
0
votes
2 answers
How to load gif from the drawable in glide v4.11.0 (asGif() method is not resolved)
I need to load a Gif from the drwable folder in my image view. How can i show this in glide 4.11.0 version?
Also, note asGif method can't able to resolve.
Glide
.with(this)
.load(R.drawable.run).asGif()
.into(mGifImage);

sejn
- 2,040
- 6
- 28
- 82
0
votes
1 answer
Loading image into imageButton in cardview leaves white space in cardview
Issue:
I'm loading an image with glide and blur into a ImageButton inside a Relative layout inside a CardView. I've tried all the scale types but I can't make it work. The Relative layout is a must because I have other views inside that need to…

M A F
- 291
- 4
- 14
0
votes
0 answers
Unable to load image from data Uri
I am receiving a data uri from a remote API using retrofit. I tried many methods yet not able to get the image set on the image view. Please help me in it.
[The data Uri starts with…

Pragya Kulshresth
- 313
- 4
- 8
0
votes
1 answer
How can i set the user profile image in bottomnavigationview from server url
I want to sent the my profile image in bottom navigation view with glide like this:
Glide.with(this)
.asBitmap()
.load(user.getProfileImageUrl())
.apply(RequestOptions.circleCropTransform())
.into(new…

Sandeep Malik
- 1,972
- 1
- 8
- 17
0
votes
0 answers
E/Volley: [6074] BasicNetwork.performRequest: Unexpected response code 403 for
activity_main.xml

Deepak Mathur
- 11
- 4
0
votes
1 answer
How to load image from cache in parallel with Glide?
I load some images only from cache, but I noticed, that images are not loaded in parallel, but first one and shortly after that second.
Glide.with(getContext())
.load(url)
.onlyRetrieveFromCache(true)
…

Michalsx
- 3,446
- 5
- 33
- 46