Questions tagged [android-glide]
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].
android-glide
2,333
questions
0
votes
0
answers
15
views
How to remove the background white colour from Gif image and replace it with background colour of screen in android?
I am displaying a GIF image in android using Glide library. My only issue is my Gif image has a white background like this My screen, the gif I have downloaded is from this link The Gif image. My ...
0
votes
0
answers
6
views
Display multiples pictures in the same ImageView using Glide
I have only one imageView and a multiples url of pictures, I want to display every loaded picture in this imageView using Glide.
I use this code with a loop but it displays only the first picture, I ...
0
votes
0
answers
11
views
While setting background Image to linear layout using glide, it appears stretched
How to preserve aspect ratio/scale of image while trying to set it as background image to LinearLayout in Android using Glide?
Hi there, I am new to Android developement.
What I want to achieve is ...
1
vote
0
answers
14
views
Glide adds black corners when loading an image to ShapeableImageView which is not attached to window
I need to share an image that is dynamically created with a profile image. The image is never visible to the user in the app.
Steps:
Create the custom view programmatically
Create the bitmap image of ...
0
votes
0
answers
32
views
Failed to load image with Glide
I want to load an image and show it in an AlertDialog with custom view, and I get this error:
Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on ...
0
votes
1
answer
25
views
Is there a way to check whether an Android Drawable resource has a night variant?
We are using Glide in our app (but the question isn't specific to that), and it has issues with resolving dark/light mode resources as it uses the Application context to load resources. It will ...
0
votes
1
answer
42
views
Glide Image Download with Bearer fails
I'm trying to download a jpg File with Glide. The File is secured with a Bearer. I tried the following. Free images without a Bearer protection work as expected.
suspend fun downloadUrlToBitmap(...
1
vote
1
answer
206
views
how to implement glide library in build.gradle.kts
Unexpected tokens (use ';' to separate expressions on the same line)
this is the error that i am getting while i am trying to implement Glide library in my app
I also tried to use
implementation(com....
-1
votes
1
answer
71
views
Glide: Load local SVG file into ImageView
I have a local SVG file that I want to load into my image view. The SVG file is provided to my app thru our integration mechanism in the company. In other words, I cannot get the SVG file thru the ...
0
votes
0
answers
17
views
Glide is showing the placeholder in CircularImageView until i refresh it shows the image from the url
I have a pretty basic load image from server line code:
glideRequests.loadUrl(iv_hangout_logo!!, finalDatum.hangout_logo, R.drawable.ic_default_image, isLoadThumb = false)
glide is stuck on ...
0
votes
0
answers
10
views
Preventing Image Distortion in Glide when Displaying Images
I'm encountering an issue while trying to display an image URL using the Glide library. When the aspect ratio of the image is very low, I'm observing distortion in the displayed image. This issue ...
0
votes
1
answer
95
views
Why am i not able to implement dependencies for glide in my build.gradle
I am trying to use Glide to load images from url in my android app in java
Glide.with(holder.itemView.getContext())
.load(newsItem.getImageUrl())
.into(holder.imageView);
...
1
vote
0
answers
24
views
Downloading Images from private storage bucket using Glide in Android
I am using Glide in my Android Kotlin app. I have a Storage bucket on Google Cloud storage where I have stored all of my images which are private and can be only accessed with my custom endpoint.
As ...
0
votes
1
answer
21
views
"How to obtain the number of images loaded successfully from a list using GlideImage?"
I have a list of strings where I store network images that I later iterate through within a forEach loop, and within it, I have the GlideImage composable that allows me to determine if the image was ...
0
votes
0
answers
22
views
Glide issue with recyclerview
i m using glide and i try picasso too with recyclerview but loading images in fragment looks like lagging and show images so slow in just vivo device android 13 i dont know whats happenning.
tell me ...