-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
## 待发布版本 | ||
|
||
待发布版本使用**Jit Pack**仓库;待测试稳定后,将统一发布正式版本至 **Maven Central** 仓库 | ||
|
||
## 引入 | ||
|
||
### Gradle: | ||
|
||
1. 在Project的 **build.gradle** 或 **setting.gradle** 中添加远程仓库 | ||
|
||
```gradle | ||
repositories { | ||
//... | ||
mavenCentral() | ||
maven { url 'https://jitpack.io' } | ||
} | ||
``` | ||
|
||
2. 在Module的 **build.gradle** 里面添加引入依赖项 | ||
|
||
```gradle | ||
// 极致体验的Compose刷新组件 (*必须) | ||
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh:7b26c6d4e5' | ||
// 经典样式的指示器 (可选) | ||
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-classic:7b26c6d4e5' | ||
// Lottie动画指示器 (可选) | ||
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-lottie:7b26c6d4e5' | ||
// 进度条样式的指示器 (可选) | ||
implementation 'com.github.jenly1314.UltraSwipeRefresh:refresh-indicator-progress:7b26c6d4e5' | ||
``` |