Skip to content

Commit 34f7cbf

Browse files
committed
Prepare for release 2.2.0
1 parent 0387cb9 commit 34f7cbf

File tree

2 files changed

+27
-6
lines changed

2 files changed

+27
-6
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
English | [中文](README_ZH_CN.md)
44

5-
[![maven](https://api.bintray.com/packages/dylancai/maven/loadinghelper/images/download.svg)](https://bintray.com/dylancai/maven/loadinghelper/_latestVersion) [![](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://github.com/DylanCaiCoding/LoadingHelper/blob/master/LICENSE)
5+
[![](https://www.jitpack.io/v/DylanCaiCoding/LoadingHelper.svg)](https://www.jitpack.io/#DylanCaiCoding/LoadingHelper) [![](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://github.com/DylanCaiCoding/LoadingHelper/blob/master/LICENSE)
66

77
`LoadingHelper` is a highly expandable Android library for showing loading status view on the low-coupling way, it is implemented with a Kotlin code of more than 200 lines without comment statement . it not only **shows different view like loading, content, error, empty or customized view** when loading network data, but also **manages title bar.**
88

@@ -34,11 +34,21 @@ Click or scan QR code to download
3434

3535
## Getting started
3636

37-
In your `build.gradle` :
37+
Add it in your root `build.gradle` at the end of repositories:
38+
```groovy
39+
allprojects {
40+
repositories {
41+
...
42+
maven { url 'https://www.jitpack.io' }
43+
}
44+
}
45+
```
46+
47+
Add dependencies in your module `build.gradle` :
3848

3949
```
4050
dependencies {
41-
implementation 'com.dylanc:loadinghelper:2.1.1'
51+
implementation 'com.github.DylanCaiCoding:LoadingHelper:2.2.0'
4252
}
4353
```
4454

README_ZH_CN.md

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[English](README.md) | 中文
44

5-
[![maven](https://api.bintray.com/packages/dylancai/maven/loadinghelper/images/download.svg)](https://bintray.com/dylancai/maven/loadinghelper/_latestVersion) [![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://github.com/DylanCaiCoding/LoadingHelper/blob/master/LICENSE)
5+
[![](https://www.jitpack.io/v/DylanCaiCoding/LoadingHelper.svg)](https://www.jitpack.io/#DylanCaiCoding/LoadingHelper) [![License](https://img.shields.io/badge/License-Apache--2.0-blue.svg)](https://github.com/DylanCaiCoding/LoadingHelper/blob/master/LICENSE)
66

77
`LoadingHelper` 是一个深度解耦加载界面和标题栏的工具,只用了一个 Kotlin 文件实现,不算上注释只有 200 多行代码。不仅能在请求网络数据时**显示加载中、加载成功、加载失败、无数据的视图或自定义视图**,还可以**对标题栏进行管理**
88

@@ -38,11 +38,22 @@
3838

3939
## 开始使用
4040

41-
`build.gradle` 添加依赖:
41+
在根目录的 `build.gradle` 添加:
42+
43+
```groovy
44+
allprojects {
45+
repositories {
46+
...
47+
maven { url 'https://www.jitpack.io' }
48+
}
49+
}
50+
```
51+
52+
在模块的 `build.gradle` 添加依赖:
4253

4354
```
4455
dependencies {
45-
implementation 'com.dylanc:loadinghelper:2.1.1'
56+
implementation 'com.github.DylanCaiCoding:LoadingHelper:2.2.0'
4657
}
4758
```
4859

0 commit comments

Comments
 (0)