Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一点小建议:图片缩放 & 加载状态 #22

Closed
FunnySaltyFish opened this issue Jun 17, 2023 · 2 comments
Closed

一点小建议:图片缩放 & 加载状态 #22

FunnySaltyFish opened this issue Jun 17, 2023 · 2 comments

Comments

@FunnySaltyFish
Copy link

  • 逛 Github 的时候发现了个库:https://github.com/saket/telephoto,是专门用于支持图片的缩放的,或许可以参考?
  • 进入图片选择页面时要不加一个简单的 Loading?我的真机有大约 7k 张图片,进入到页面后就只有左上角的“拍照” item,要等待十几秒才能加载出图片,这期间的等待没有 UI 或者 提示文本。加一点简单的 Loading UI 似乎更好?
@leavesCZY
Copy link
Owner

@FunnySaltyFish 感谢建议

  • 现在 Matisse 是通过 ImageEngine 将加载图片的逻辑交由引用方来实现。比较理想的情况,是让引用方也自己来决定是否要引入 telephoto,按需集成。我试了下,现在 telephoto 和 Matisse 之间会存在一些手势冲突,完全交由外部来集成的话又很受限。后续我思考下应该怎么做比较好
  • 我倒是没有想过图片很多的情况,的确有道理,我在 1.0.0-beta03 版本里面补上了

@panpf
Copy link

panpf commented Sep 23, 2023

各位大佬,我开发的支持 compose 的图片缩放组件 ZoomImage ( https://github.com/panpf/zoomimage )进入 beta 公开测试阶段了,README 页面有详细的介绍和文档以及和其它优秀图片缩放库的对比,欢迎到 release 页面下载 APK 体验效果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants