Questions tagged as 'android-glide'

2
answers

Glide, I get the error message: "java.lang.IllegalArgumentException: You must not call setTag () on a view Glide is targeting"

When trying to load an image using Glide , inside an ImageView, ensuring to have the path of the image in urlImage and the instance of the ImageView in imgZoom , this is my code: private View individual(LayoutInflater...
asked by 10.02.2016 / 04:32
2
answers

Show the photo of a contact on Android

I get the photos of the contacts with: c.getString(c.getColumnIndex(ContactsContract.Contacts.PHOTO_URI) Returns the path of the photo: content://com.android.contacts/display_photo/1449 How can I read it and load it in ImageView...
asked by 15.09.2017 / 22:30
1
answer

How to share image on social networks, android?

I'm trying to share an image on social networks, which I get from a URL I tried several ways and I have not succeeded, I use retrofit2 to show the content of the application. Thank you very much in advance Here I get the url of the image...
asked by 07.08.2017 / 02:28
3
answers

Load bitmap with Glide

I am trying to load a Bitmap with the Glide library but there is no method to load it and in the documentation I did not find it either. I've been looking for more sites like English EO and I found several posts but I did not get to understan...
asked by 25.10.2016 / 11:57
2
answers

Retry loading image in Glide with 2 URL's

I am uploading an image with Glide, as follows. Glide.with(myActivity.this).load(url1).diskCacheStrategy(DiskCacheStrategy.ALL).into(avatarImageView); It turns out that sometimes fails me, since sometimes the url1 does not exist, and I ha...
asked by 14.08.2017 / 20:02
1
answer

Deprecated .crossFade () on Android 4 Glide

I have updated from Glide 3.8.0 to Glide 4.1.1 and I find that part of the code has been compatible I followed the installation of Started Glide 4 compile 'com.github.bumptech.glide:glide:4.1.1' annotationProcessor 'com.gith...
asked by 28.10.2017 / 21:58
2
answers

How do I clean the cache of an Android application by code?

I am developing an android application on a catalog, the images I load with Glide, but there is a problem, and that is that the images can be updated from an admin of a web page, and when I updated it in the application, it follows me appearing...
asked by 29.01.2018 / 18:43
1
answer

Add watermark on Android using Glide

I have the code to add an image in an imageview: try { Glide.with(imagen.getContext()) .load(item.getIdImagen()) //.transform(new GestorImagenes(context, 90f)) .into(imagen);...
asked by 05.04.2017 / 22:04
2
answers

Use Glide to load an image that is stored in internal storage

I'm trying to load an image from the internal memory using the Glide library but it seems impossible. imagePath="/storage/emulated/0/Pictures/IMG-20161029-WA0025.jpg" This is the simplest code but it does not work. public class MainActivi...
asked by 15.05.2017 / 06:08
1
answer

Glide.load from request

In my android application I am using the Glide library for loading images, but I need to upload images that are only obtained with POST calls and a certain body (they do not return with just one URL). For now what I do is download the images...
asked by 07.07.2016 / 17:35