SherlockGougou / BigImageViewPager

🔥🔥🔥 BigImage ImageView ViewPager 支持超长图、超大图的图片浏览器,优化内存,支持手势放大、下拉关闭、查看原图、加载百分比、保存图片等功能。
Other
2.14k stars 248 forks source link

在 Android X 版本中,依赖也应该使用 Android X版本 #181

Closed HenryWu01 closed 1 year ago

HenryWu01 commented 1 year ago

我通过 gradle 引用 com.github.SherlockGougou:BigImageViewPager:androidx-7.0.6 之后发现依赖的是 com.davemorrissey.labs:subsampling-scale-image-view:3.10.0 , 因为我有别的依赖使用的Android X版本的 subsampling-scale-image-view-androidx,发生了 Duplicate class 的错误。

Android X 版本的 BigImageViewPager 应该依赖 com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0 而不是 com.davemorrissey.labs:subsampling-scale-image-view:3.10.0

SherlockGougou commented 1 year ago

OK,这个问题我近期尽快修复。

Henry Wu @.***>于2022年12月19日 周一22:33写道:

我通过 gradle 引用 com.github.SherlockGougou:BigImageViewPager:androidx-7.0.6 之后发现依赖的是 com.davemorrissey.labs:subsampling-scale-image-view:3.10.0 , 因为我有别的依赖使用的Android X版本的 subsampling-scale-image-view-androidx,发生了 Duplicate class 的错误。

Android X 版本的 BigImageViewPager 应该依赖 com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0 而不是 com.davemorrissey.labs:subsampling-scale-image-view:3.10.0

— Reply to this email directly, view it on GitHub https://github.com/SherlockGougou/BigImageViewPager/issues/181, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEIXE2PKGNG2SLGQKZCQKUDWOBW4HANCNFSM6AAAAAATDNWKD4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

HenryWu01 commented 1 year ago

OK,这个问题我近期尽快修复。

收到,谢谢大佬。这个库真的很好用~把之前用的很 Buggy 的库换成这个了,瞬间舒服了很多

SherlockGougou commented 1 year ago

该问题已解决。