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

佬,支持Java吗 ? 有些老项目是用java写的,不打算换kt了 #15

Closed
ffdsss opened this issue Jan 25, 2024 · 9 comments
Closed

Comments

@ffdsss
Copy link

ffdsss commented Jan 25, 2024

佬,支持Java吗 ? 有些老项目是用java写的,不打算换kt了

@panpf
Copy link
Owner

panpf commented Jan 25, 2024

Java 可以用,只是 API 会比较奇怪,凑合用吧

@ffdsss
Copy link
Author

ffdsss commented Jan 25, 2024

试了,java好像不行。 GlideZoomImageView和SketchZoomImageView加载url都会报错。

Caused by: java.lang.NoSuchMethodError: No virtual method close()V in class Landroid/content/res/TypedArray; or its super classes (declaration of 'android.content.res.TypedArray' appears in /system/framework/framework.jar)

image

image

示例图片:https://images.unsplash.com/photo-1533743983669-94fa5c4338ec?ixid=M3w1NTU5ODJ8MHwxfHNlYXJjaHwxNnx8Y2F0fGVufDB8fHx8MTcwNjE3NTg4MXww&ixlib=rb-4.0.3

@panpf
Copy link
Owner

panpf commented Jan 26, 2024

已发布修复此问题的 SNAPSHOT 版本 1.0.2-SNAPSHOT 到 SNAPSHOT 仓库,你先试试

@ffdsss
Copy link
Author

ffdsss commented Jan 26, 2024

已发布修复此问题的 SNAPSHOT 版本 1.0.2-SNAPSHOT 到 SNAPSHOT 仓库,你先试试

implementation 'io.github.panpf.zoomimage:zoomimage-view:1.0.2-SNAPSHOT' 是这个吗 ,没拉下来

@panpf
Copy link
Owner

panpf commented Jan 26, 2024

在 SNAPSHOT 仓库

@panpf
Copy link
Owner

panpf commented Jan 31, 2024

怎么样了,能继续用了吗?

@ffdsss
Copy link
Author

ffdsss commented Feb 2, 2024

怎么样了,能继续用了吗?

没找到仓库,可以发一下id吗

@panpf
Copy link
Owner

panpf commented Feb 2, 2024

添加一下这个仓库 https://s01.oss.sonatype.org/content/repositories/snapshots/

@panpf
Copy link
Owner

panpf commented Feb 4, 2024

此问题已在 1.0.2 版本修复,请更新到新版本

@panpf panpf closed this as completed Feb 4, 2024
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

2 participants