Skip to content

Commit

Permalink
1、升级版本
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyJingFish committed Jun 14, 2024
1 parent 3d1ca73 commit 0ae990f
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion OpenImageLib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ android {
}
}
dependencies {
implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation 'androidx.recyclerview:recyclerview:1.2.1'
implementation 'androidx.viewpager2:viewpager2:1.0.0'
api 'io.github.FlyJingFish:ShapeImageView:1.5.5'
}
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,18 +87,18 @@ allprojects {

```gradle
//OpenImageFullLib 默认已经包含了OpenImageGlideLib
implementation 'io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.2'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.3'
```

- 使用 Coil 作为图片加载器,如果你的项目组存在[Coil](https://github.com/coil-kt/coil)请升级至 **2.4.0** 或者更高的版本,否则会冲突

```gradle
//OpenImageFullLib 因为已经包含了 OpenImageGlideLib,所以需要排除掉 OpenImageGlideLib,否则会同时存在 Glide 和 Coil
implementation ('io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.2'){
implementation ('io.github.FlyJingFish.OpenImage:OpenImageFullLib:2.2.3'){
exclude module: 'OpenImageGlideLib'
}
//OpenImageCoilLib 引入Coil(2.4.0)图片引擎
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.2'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.3'
```

#### B、引入只带有图片引擎的版本(只支持查看图片)
Expand All @@ -109,14 +109,14 @@ implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.2'

```gradle
//OpenImageGlideLib 引入Glide(4.12.0)图片引擎,没有引入视频播放器;如需定制视频播放功能,详细看Wiki文档,如果不想定制可直接使用上边的库
implementation 'io.github.FlyJingFish.OpenImage:OpenImageGlideLib:2.2.2'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageGlideLib:2.2.3'
```

- 使用 Coil 作为图片加载器,如果你的项目组存在[Coil](https://github.com/coil-kt/coil)请升级至 **2.4.0** 或者更高的版本,否则会冲突

```gradle
//OpenImageCoilLib 引入Coil(2.4.0)图片引擎,没有引入视频播放器;如需定制视频播放功能,详细看Wiki文档,如果不想定制可直接使用上边的库
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.2'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.3'
```

#### C、引入基础版本(不可以直接查看图片和视频,完全需要自定义)
Expand All @@ -126,7 +126,7 @@ implementation 'io.github.FlyJingFish.OpenImage:OpenImageCoilLib:2.2.2'
```gradle
//OpenImageLib 是基础库,没有引入图片引擎和视频播放器
//至少需要实现BigImageHelper来定制您的图片引擎,如需定制视频播放功能,详细看Wiki文档
implementation 'io.github.FlyJingFish.OpenImage:OpenImageLib:2.2.2'
implementation 'io.github.FlyJingFish.OpenImage:OpenImageLib:2.2.3'
```

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/my_activity_kuaishou.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
android:layout_height="50dp"
android:gravity="center_vertical"
android:paddingHorizontal="14dp"
android:drawableStart="@drawable/video_back"
android:drawableStart="@mipmap/back"
android:drawablePadding="20dp"
android:text="标题呦~"
android:textColor="@color/white" />
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ DEVELOPER_ID=FlyJingFish
DEVELOPER_NAME=FlyJingFish
DEVELOPER_EMAIL=749617782@qq.com

TestVersion = 2.2.2
TestVersion = 2.2.3
SonatypeTestCode = 1333
TestType = 0
# 0 mavenLocal 1 SonatypeCache 2 mavenCentral
4 changes: 4 additions & 0 deletions update_record.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# OpenImage 更新日志

## 2.2.3

1、fix [#29](https://github.com/FlyJingFish/OpenImage/issues/29)

## 2.2.2

1、fix [#30](https://github.com/FlyJingFish/OpenImage/issues/30)
Expand Down
4 changes: 2 additions & 2 deletions version.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Mon Jun 03 17:39:22 CST 2024
PROJ_VERSION=2.2.2
#Fri Jun 14 10:45:11 CST 2024
PROJ_VERSION=2.2.3

0 comments on commit 0ae990f

Please sign in to comment.