Results 145 comments of panpf

你可以打印 AbsProgressPainter 的 progress 看看,progress 大于 0 才是第一次读取到数据

你把图片给我试试

已查明是 KtorStack 的问题,下个版本修复,预计一到两周内发布

已发布 4.2.0-SNAPSHOT 版本,你试一下,SNAPSHOP 版本需要配置快照仓库

就是 maven 官方的快照仓库 https://s01.oss.sonatype.org/content/repositories/snapshots/

破案了,做个总结吧! 1. 之前的版本 KtorStack 确实有问题,它会先将所有内容都读到内存里再开始以回调进度的方式从内存读取,这时非常快就读完了,所以你看不到进度,4.2.0-SNAPSHOT 也已经修复了这个问题了 2. 你需要禁用所有缓存才能每次都看到进度,否则只有第一次能看到进度 3. 你需要移除 uri 中的时间或者用 remember 包括它,因为请求 uri 中包含了当前的系统时间,每次重组 uri 都会改变导致多次请求共用一个状态,最终导致状态混乱,进度始终更新为-1.0,drawProgress 就只更新一次 4. progressPainter 也要用 remember 包括 ⚠️切记在 compose ui 中使用 System.currentTimeMillis() 是非常危险的⚠️...

sketch 和 zoomimage 都已发布新的 beta 版

What are the scenarios where gesture rotation is necessary? To be honest, I don’t like gesture rotation. ZoomImage supports EXIF by default, so I think it is not necessary to...

别的 gif 图是否也不能播放?换成普通的 ImageView 再用 Glide 加载是否依然无法播放?

Gesture animations are implemented using system APIs. You actively disabled all animations, and the system API followed this operation, which should be correct.