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].

2336 questions
367
votes
6 answers

Picasso v/s Imageloader v/s Fresco vs Glide vs Coil

Findings: Difference between Picasso v/s ImageLoader here ... Info about the library GLIDE here ... Facebook has its own library Fresco Newest addition to the list Coil Questions: What is the difference between Picasso v/s Imageloader v/s Fresco…
Devrath
  • 42,072
  • 54
  • 195
  • 297
236
votes
28 answers

How to round an image with Glide library?

So, anybody know how to display an image with rounded corners with Glide? I am loading an image with Glide, but I don't know how to pass rounded params to this library. I need display image like following example:
SBotirov
  • 13,872
  • 7
  • 59
  • 81
192
votes
15 answers

How does one use glide to download an image into a bitmap?

Downloading a URL into an ImageView is very easy using Glide: Glide .with(context) .load(getIntent().getData()) .placeholder(R.drawable.ic_loading) .centerCrop() .into(imageView); I'm wondering if I can download into a Bitmap as…
JohnnyLambada
  • 12,700
  • 11
  • 57
  • 61
128
votes
9 answers

Progress bar while loading image using Glide

Can I load a spinner in placeholder with rotating animation until the image is loaded using Glide? I am trying to do that using .placeholder(R.Drawable.spinner) no animation is coming up? It would be great if somebody could help me out? Thanks!
Sanjana Nair
  • 2,663
  • 6
  • 26
  • 44
110
votes
13 answers

Set visibility of progress bar gone on completion of image loading using Glide library

Hi I want to have a progress bar for image which will shown while image loading but when image loading will be completed I want to set it to gone. Earlier I was using Picasso library for this. But I don't know how to use it with Glide library. I…
Hari Ram
  • 3,098
  • 5
  • 23
  • 30
98
votes
19 answers

Remove image from cache in Glide library

I am using Glide in one of my projects to show images from files. Below is my code of how I am showing the image: Glide.with(DemoActivity.this) .load(Uri.parse("file://" + imagePath)) .into(mImage); The image at this location(imagePath)…
Nitesh Kumar
  • 5,370
  • 5
  • 37
  • 54
91
votes
8 answers

Glide-4.0.0 Missing placeholder, error, GlideApp and does not resolve its method placeholder,error

I want to use the Glide Android library to download an image and show in ImageView. In the previous version we used: Glide.with(mContext).load(imgUrl) .thumbnail(0.5f) .placeholder(R.drawable.PLACEHOLDER_IMAGE_NAME) …
Ritesh Bhavsar
  • 1,343
  • 1
  • 9
  • 19
91
votes
5 answers

Local image caching solution for Android: Square Picasso, Universal Image Loader, Glide, Fresco?

I am looking for an asynchronous image loading and caching library in Android. I was going to use Picasso, but I found Universal Image Loader is more popular on GitHub. Does anyone know about these two libraries? A summary of pros and cons would be…
X.Y.
  • 13,726
  • 10
  • 50
  • 63
85
votes
2 answers

Glide image loading with application context

I am using glide for image loading in my android app, to avoid any crashes I am loading images with application context. What will be effect of this on performance of application and memory?
Hari Ram
  • 3,098
  • 5
  • 23
  • 30
82
votes
14 answers

You cannot start a load for a destroyed activity in relativelayout image using glide

I am using relativelayout to set an image.Why I hadn't using imageview means, inside relativelayout image, I am setting icons. I dont know what is the issue exactly in glide.I have posted the stacktrace and relevant code below: Logcat: FATAL…
Stephen
  • 9,899
  • 16
  • 90
  • 137
74
votes
14 answers

Show GIF file with Glide (image loading and caching library)

I try to show a GIF image as loading placeholder in image view - with Glide Library: Glide.with(context) .load(ImageUrl()) .placeholder(R.drawable.loading2) .asGif() .crossFade() .into(image); I try to show this file…
mahdi
  • 16,257
  • 15
  • 52
  • 73
69
votes
11 answers

IllegalArgumentException: Unmanaged descriptor using gms.maps.model.Marker.setIcon

I have an app that use android-maps-utils and glide for marker icons. I got an error report using Firebase crash reporting which I can't track in source code because gms.maps.model.Marker.setIcon is private, so I'm asking for some help with this…
MiguelHincapieC
  • 5,445
  • 7
  • 41
  • 72
66
votes
3 answers

Using Glide for Android, how do I load images from asset and resources?

I want to keep all the transformation, stoke and animations identical and was thinking if we can pass resource ID or asset name in Glide to load it locally?
ir2pid
  • 5,604
  • 12
  • 63
  • 107
62
votes
15 answers

Glide not loading real image and stuck with placeholder

I have a pretty basic load image from server line code: Glide.with(view.getContext()).load(url).placeholder(R.drawable.default_profile).into(view); For some reason, I'm always stuck with the placeholder being displayed and never the real image! I…
TareK Khoury
  • 12,721
  • 16
  • 55
  • 78
59
votes
9 answers

Glide showing error: Failed to find GeneratedAppGlideModule

I am trying to load an image using glide but somehow I can not load the image using glide. As it shows following error: Failed to find GeneratedAppGlideModule. You should include an annotationProcessor compile dependency on…
Riddhi Shah
  • 3,092
  • 5
  • 36
  • 56
1
2 3
99 100