Comments (3)
这种问题倒是第一次见到。你是只在这台机型上发现这个问题吗?是属于偶发还是会固定出现呢?异常信息是说已回收的 bitmap 被重复使用了,而 Matisse 内部也并不会去更改 Coil 的默认配置,这个是否可能是由于你的项目对 Coil 做了一些自定义配置导致的
from matisse.
和这个库没啥关系,可以关掉了。应该是Coil还缓存了被recycle的bitmap。
在目标页回收了bitmap然后退出,再重新拉起Matisse
LaunchedEffect(Unit) {
context.imageLoader
.enqueue(
ImageRequest.Builder(context)
.data(imageUri)
.scale(Scale.FIT)
.allowHardware(false)
.listener(onSuccess = { _, result ->
imageBitmap = result.drawable.toBitmap()
})
.build()
)
delay(3000)
imageBitmap?.recycle()
}
from matisse.
ok
from matisse.
Related Issues (20)
- 关于自定义媒体列表页顶部和底部View的配置 HOT 5
- 是否支持裁剪? HOT 1
- 默认图片过多时加载会卡顿 HOT 1
- 支持手势滑动选择吗?跟QQ相册或者系统相册一样~ HOT 6
- 图片预览报错 HOT 14
- 图片加载很慢,不知道是什么原因。魅族17,性能不算很差。 HOT 5
- 请问有 IOS 版本吗 HOT 1
- 2.0.1无法使用 HOT 2
- 左上角返回icon无法替换,与自己app不协调,另外不支持裁剪(不适合头像选择) HOT 1
- 运行时闪退 HOT 2
- 在vivo x100手机上使用有bug,给不了相册权限 HOT 2
- 出现过一次崩溃 HOT 5
- 魅族17,仅图片下,查询出来的图片有些是无效的 HOT 6
- 混淆后崩溃 HOT 4
- 仅选一张图片支持速选吗? HOT 13
- 增加国际化语言适配 HOT 1
- 大佬,有个问题,拍照之后完成之后,没有展示在图片列表,然后再次进才会展示.最新的代码 HOT 20
- 请问支持裁剪吗 HOT 1
- incompatible version of Kotlin HOT 3
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 matisse.