33![ Image] ( app/src/main/ic_launcher-web.png )
44
55[ ![ Download] ( https://img.shields.io/badge/download-App-blue.svg )] ( https://raw.githubusercontent.com/jenly1314/ImageViewer/master/app/release/app-release.apk )
6+ [ ![ MavenCentral] ( https://img.shields.io/maven-central/v/com.github.jenly1314/imageviewer )] ( https://repo1.maven.org/maven2/com/github/jenly1314/imageviewer )
67[ ![ JCenter] ( https://img.shields.io/badge/JCenter-1.0.2-46C018.svg )] ( https://bintray.com/beta/#/jenly/maven/imageviewer )
78[ ![ JitPack] ( https://jitpack.io/v/jenly1314/ImageViewer.svg )] ( https://jitpack.io/#jenly1314/ImageViewer )
89[ ![ CI] ( https://travis-ci.org/jenly1314/ImageViewer.svg?branch=master )] ( https://travis-ci.org/jenly1314/ImageViewer )
@@ -20,27 +21,33 @@ ImageViewer for Android 是一个图片查看器,一般用来查看图片详
2021
2122## 引入
2223
23- ### Maven:
24- ``` maven
25- <dependency>
26- <groupId>com.king.image</groupId>
27- <artifactId>imageviewer</artifactId>
28- <version>1.0.2</version>
29- <type>pom</type>
30- </dependency>
31- ```
3224### Gradle:
25+
26+ 1 . 在Project的 ** build.gradle** 里面添加远程仓库
27+
3328``` gradle
34- implementation 'com.king.image:imageviewer:1.0.2'
29+ allprojects {
30+ repositories {
31+ //...
32+ mavenCentral()
33+ }
34+ }
35+ ```
36+
37+ 2 . 在Module的 ** build.gradle** 里面添加引入依赖项
38+
39+ ``` gradle
40+ implementation 'com.github.jenly1314:imageviewer:1.0.3'
3541```
3642
37- ### Lvy:
38- ``` lvy
39- <dependency org='com.king.image' name='imageviewer' rev='1.0.2'>
40- <artifact name='$AID' ext='pom'></artifact>
41- </dependency>
43+
44+ 以前发布至JCenter的版本
45+
46+ ``` gradle
47+ implementation 'com.king.image:imageviewer:1.0.2'
4248```
4349
50+
4451###### 如果Gradle出现compile失败的情况,可以在Project的build.gradle里面添加如下:(也可以使用上面的GitPack来complie)
4552``` gradle
4653allprojects {
@@ -96,6 +103,9 @@ allprojects {
96103
97104## 版本记录
98105
106+ #### v1.0.3:2022-9-10 (从v1.0.3开始发布至 MavenCentral)
107+ * 看大图界面支持自定义扩展
108+
99109#### v1.0.2:2020-12-3
100110* 加载的图片数据新增支持ImageDataSource类型,便于扩展
101111
@@ -108,28 +118,28 @@ allprojects {
108118## 赞赏
109119如果您喜欢ImageViewer,或感觉ImageViewer帮助到了您,可以点右上角“Star”支持一下,您的支持就是我的动力,谢谢 :smiley : <p >
110120您也可以扫描下面的二维码,请作者喝杯咖啡 :coffee :
111- <div >
112- <img src =" https://jenly1314.github.io/image/pay/wxpay.png " width =" 280 " heght =" 350 " >
113- <img src =" https://jenly1314.github.io/image/pay/alipay.png " width =" 280 " heght =" 350 " >
114- <img src =" https://jenly1314.github.io/image/pay/qqpay.png " width =" 280 " heght =" 350 " >
115- <img src =" https://jenly1314.github.io/image/alipay_red_envelopes.jpg " width =" 233 " heght =" 350 " >
116- </div >
121+ <div >
122+ <img src =" https://jenly1314.github.io/image/pay/wxpay.png " width =" 280 " heght =" 350 " >
123+ <img src =" https://jenly1314.github.io/image/pay/alipay.png " width =" 280 " heght =" 350 " >
124+ <img src =" https://jenly1314.github.io/image/pay/qqpay.png " width =" 280 " heght =" 350 " >
125+ <img src =" https://jenly1314.github.io/image/alipay_red_envelopes.jpg " width =" 233 " heght =" 350 " >
126+ </div >
117127
118128## 关于我
119- Name: <a title =" 关于作者 " href =" https://about.me/jenly1314 " target =" _blank " >Jenly</a >
129+ Name: <a title =" 关于作者 " href =" https://about.me/jenly1314 " target =" _blank " >Jenly</a >
130+
131+ Email: <a title =" 欢迎邮件与我交流 " href =" mailto:jenly1314@gmail.com " target =" _blank " >jenly1314#gmail.com</a > / <a title =" 给我发邮件 " href =" mailto:jenly1314@vip.qq.com " target =" _blank " >jenly1314#vip.qq.com</a >
120132
121- Email : <a title =" 欢迎邮件与我交流 " href =" mailto:jenly1314@gmail.com " target = " _blank " >jenly1314#gmail.com</ a > / < a title = " 给我发邮件 " href = " mailto:jenly1314@vip.qq.com " target =" _blank " >jenly1314#vip.qq.com </a >
133+ CSDN : <a title =" CSDN博客 " href =" http://blog.csdn.net/jenly121 " target =" _blank " >jenly121 </a >
122134
123- CSDN : <a title =" CSDN博客 " href =" http ://blog.csdn.net/jenly121 " target =" _blank " >jenly121 </a >
135+ CNBlogs : <a title =" 博客园 " href =" https ://www.cnblogs.com/jenly " target =" _blank " >jenly </a >
124136
125- CNBlog : <a title =" 博客园 " href =" https://www.cnblogs. com/jenly " target =" _blank " >jenly </a >
137+ GitHub : <a title =" GitHub开源项目 " href =" https://github. com/jenly1314 " target =" _blank " >jenly1314 </a >
126138
127- GitHub: <a title =" GitHub开源项目 " href =" https://github.com/jenly1314 " target =" _blank " >jenly1314</a >
128-
129- Gitee: <a title =" Gitee开源项目 " href =" https://gitee.com/jenly1314 " target =" _blank " >jenly1314</a >
139+ Gitee: <a title =" Gitee开源项目 " href =" https://gitee.com/jenly1314 " target =" _blank " >jenly1314</a >
130140
131- 加入QQ群: <a title =" 点击加入QQ群 " href =" http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1411582c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad " target =" _blank " >20867961</a >
141+ 加入QQ群: <a title =" 点击加入QQ群 " href =" http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1411582c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad " target =" _blank " >20867961</a >
132142 <div >
133143 <img src="https://jenly1314.github.io/image/jenly666.png">
134144 <img src="https://jenly1314.github.io/image/qqgourp.png">
135- </div >
145+ </div >
0 commit comments