Download android github.bumptech.glide
Initial not compiling gif encoder. Oct 3, Mar 9, Migrate org. Jul 9, Add a debug. Oct 31, Add scripts to queue firebase emulators in travis instrumentation test. Oct 22, Replace RuntimeEnvironment. Apr 28, Internal change. Feb 24, View code. Download For detailed instructions and requirements, see Glide's download and setup docs page.
About An image loading and caching library for Android focused on smooth scrolling bumptech. Releases 36 Glide 4. Jan 29, Packages 0 No packages published. Fixes an issue where pom files in the 4.
Previously dereferencing these Targets would simply allow the underlying resource to be garbage collected, which could lead to unexpected cache misses Transient memory usage may increase for applications that regularly dereference Targets without clearing them as the resources are now re-captured instead of being immediately and unexpectedly garbage collected.
Previously Glide. Now both behave identically Calling RequestBuilder. Skip to content. Star 32k. Try enabling internal logging to see what's going on in the logs. When you say no listener. Since you say it works on one phone, but not on an other, I rule out the possiblity that the view is invisible when you try to load, which may lead to no actual load happening and no callbacks called. What happens if instead of skipMemoryCache you turn it off via a GlideModule?
I expect it works. Sorry, something went wrong. Hi, I enabled the logging e nothing weird appear. Just logs about downloading from URL. Yes, the onResourceReady was called. I saw the Bitmap resource and it was a valid bitmap, like the others that were downloaded. Same size, etc. GlideConfiguration" brought me the black image with more frequency. With skipMemoryCache true works, because Glide download again when the black image occur, but i don't want with this approach.
Hi, I did on more test here: Remove de imageDecoder and leave the Glide configuration as default:. And works. No more black image. But, no matter how i will configure this approach via meta-data or imageDecoder brought me some black image. So, to sum up please confirm if this is correct : if you use on a Moto X 5. Bitmap contents are yet unconfirmed with. This is a duplicate of , but that wasn't fixed due to no repro.
Of course, that's understandable, but trying those cases helps us figure out what the problem might be. My ImageView isn't a custom View I use override and placeholder.
When i compressed the Bitmap, the image really had all black pixels see attached image. In the Activity i sent before: I tested with dontAnimate and fitCenter and continues show the black image I tested with dontAnimate without fitCenter and continues show the black image I tested without dontAnimate and fitCenter and continues show the black image. All those tests above i did with into imageView. So, if i do not use centerCrop or fitCenter works good.
No more problem. But i need to use dontAnimate. Based on your description it should've loaded a black image, but it didn't. The problem is that I have a Galaxy S4 4.
Can you please check if this code will reproduce your issue on your Moto X? So we'll have a known short repro. See my prev comment for a summary. It looks like a pooling issue. I tried like you said but still brought me the black image. But, when i changed to into new BitmapImageViewTarget imageView and removed fitCenter it worked perfectly and a little bit faster.
Well, with this approach i'm satisfied. Support Library Version - Glide uses support library version If you need or would prefer to use a different version of the support library you should exclude "com. Using a different support library version than the one Glide depends on can cause RuntimeException s like:. You can download the latest jar from GitHub directly. You will also need to include a dependency on the support library.
0コメント