Glide DarkMode doesn't work
- Dominant language
- Java
- Stars
- 35k
- Forks
- 6.2k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 8
Description
I am using the lastest Glide (Kotlin)Version within Android11.
When I load the image with the following code...
```
...
var imageOptions: RequestOptions = RequestOptions()
.diskCacheStrategy(DiskCacheStrategy.NONE)
.skipMemoryCache(true)
.override(200, 200)
.transform(RoundedCorners(10),CenterCrop())
Glide.with(itemView.image.context)
.load(decodedImage) //decodedImage is a Bitmap
.apply(imageOptions)
.into(itemView.image)
...
```
The images works fine. But when I view the app in Dark Mode the images are disappeared.
I am familiar with this solution https://github.com/bumptech/glide/issues/3778 but this works only with Drawable image and not Bitmap, is there any solution to make the image visible in Night Mode?
Thank you in advance.
Contributor guide
Assessment
This issue has not been assessed yet.