Skip to content

Commit

Permalink
发布v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jenly1314 committed Jul 1, 2024
1 parent 9f98f33 commit e288581
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@

```gradle
// 极致体验的Compose刷新组件 (*必须)
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh:1.1.3'
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh:1.2.0'
// 经典样式的指示器 (可选)
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-classic:1.1.3'
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-classic:1.2.0'
// Lottie动画指示器 (可选)
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-lottie:1.1.3'
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-lottie:1.2.0'
// 进度条样式的指示器 (可选)
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-progress:1.1.3'
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-progress:1.2.0'
```

## 使用
Expand Down Expand Up @@ -76,13 +76,14 @@
* @param vibrateEnabled 是否启用振动,如果启用则当滑动偏移量满足触发刷新或触发加载更多时,会有振动效果;默认为:false
* @param headerIndicator 下拉刷新时顶部显示的Header指示器
* @param footerIndicator 上拉加载更多时底部显示的Footer指示器
* @param contentContainer 内容的父容器,便于统一管理
* @param content 可进行刷新或加载更多所包含的内容
*/
```

#### UltraSwipeRefresh使用示例

比如:使用`UltraSwipeRefresh`实现一个经典样式的下拉刷新与上拉加载示例
比如:使用`UltraSwipeRefresh`实现一个经典样式的刷新与加载示例

```kotlin

Expand Down Expand Up @@ -199,7 +200,7 @@ UltraSwipeRefreshTheme.config = UltraSwipeRefreshTheme.config.copy(

## 版本记录

#### 待发布版本([提前体验](test.md)
#### v1.2.0 :2024-7-1
* 新增参数`contentContainer`:内容的父容器,便于统一管理
* 修复了一些已知问题

Expand Down
Binary file modified app/release/app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 5,
"versionName": "1.1.3",
"versionCode": 6,
"versionName": "1.2.0",
"outputFile": "app-release.apk"
}
],
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ kotlin.code.style=official
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true

VERSION_NAME=1.1.3
VERSION_CODE=5
VERSION_NAME=1.2.0
VERSION_CODE=6
GROUP=com.github.jenly1314.UltraSwipeRefresh

POM_DESCRIPTION=UltraSwipeRefresh for Android
Expand Down
2 changes: 1 addition & 1 deletion test.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

## 待发布版本
## 待发布版本(已发布:v1.2.0)

待发布版本暂使用 **Jit Pack** 仓库;待收集的一些问题测试稳定后,再统一发布正式版本至 **Maven Central** 仓库。

Expand Down
4 changes: 2 additions & 2 deletions versions.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// App
def app_version = [:]
app_version.versionCode = 5
app_version.versionName = "1.1.3"
app_version.versionCode = 6
app_version.versionName = "1.2.0"
ext.app_version = app_version

// build version
Expand Down

0 comments on commit e288581

Please sign in to comment.