Comments (1)
I think this is broken as I'd expect. You're caching the GlideImage while it's asynchronously loading the image. The documentation says "The objects are cached as long as the size of the drawing area is the same, or any state objects that are read have not changed. " Neither of those can be influenced by GlideImage.
You could do this with GlideSubcomposition, but if all you're trying to do is cache the image load GlideImage already does that and more efficiently than GlideSubcomposition + drawWithCache
from glide.
Related Issues (20)
- Bitmap transforms not working when to resulting bitmap in the background
- crash for glide-source-th
- SVG rendering issues
- OutOfMemoryError
- Big PNG can't be decoded: Mark has been invalidated
- GlideImage no longer works with Modifier.weight()
- Caused by: java.lang.ArrayIndexOutOfBoundsException: src.length=4 srcPos=-1 dst.length=4 dstPos=0 length=1
- Drawable Resources are not properly loaded when resource names are stripped out from Resource Table HOT 3
- Glide override not working with avif images.
- Consider implementing contentScale in Compose without using Transformations
- Glide Compose: java.lang.IllegalArgumentException caused by sideEffect run asynchronously
- Unable to build project in Android Studio Jellyfish HOT 2
- Not able to load svg image. Showing blank screen HOT 1
- how fix glide 3.8 GlideModule do not work. HOT 1
- Load Drawable can block main thread for over 1 second
- Compose: rememberGlidePreloadingData not preload, but use higher memory.
- WebpDrawable is not rendering last frame
- Loading local images thumbnails
- Inconsistent screenshot-testing with paparazzi and GlideImage composable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glide.