Skip to content

Commit

Permalink
发布 2.0.3 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
scwang90 committed Jan 6, 2021
1 parent 16cf628 commit ac4a5bd
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 31 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/License%20-Apache%202-337ab7.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Arsenal](https://img.shields.io/badge/Arsenal%20-%20SmartRefresh-4cae4c.svg)](https://android-arsenal.com/details/1/6001)
[![JCenter](https://img.shields.io/badge/%20JCenter%20-2.0.2-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![JCenter](https://img.shields.io/badge/%20JCenter%20-2.0.3-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![MinSdk](https://img.shields.io/badge/%20MinSdk%20-%2012%2B%20-f0ad4e.svg)](https://android-arsenal.com/api?level=12)
[![Methods](https://img.shields.io/badge/Methods%20%7C%20Size%20-%20784%20%7C%20121%20KB-d9534f.svg)](http://www.methodscount.com/?lib=com.scwang.smartrefresh%3ASmartRefreshLayout%3A1.0.4)

Expand Down Expand Up @@ -127,14 +127,14 @@ V2.x 相对于 V1.x 对包名做了修改如:com.scwang.smartrefresh 改为 co
compile 'com.android.support:appcompat-v7:25.3.1' //必须 25.3.1 以上
// 注意:分包之后不会有默认的Header和Footer需要手动添加!还是原来的三种方法!
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.2' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.2' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.2' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.2' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.2' //谷歌刷新头

This comment has been minimized.

Copy link
@Liu-Bobo

Liu-Bobo Aug 3, 2021

设置透明背景时,还会有阴影,如何取消它

implementation 'com.scwang.smart:refresh-header-two-level:2.0.2' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.2' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.2' //经典加载
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.3' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.3' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.3' //谷歌刷新头
implementation 'com.scwang.smart:refresh-header-two-level:2.0.3' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //经典加载
```
Expand All @@ -151,14 +151,14 @@ android.enableJetifier=true
```
implementation 'androidx.appcompat:appcompat:1.0.0' //必须 1.0.0 以上
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.2' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.2' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.2' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.2' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.2' //谷歌刷新头
implementation 'com.scwang.smart:refresh-header-two-level:2.0.2' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.2' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.2' //经典加载
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //核心必须依赖
implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //经典刷新头
implementation 'com.scwang.smart:refresh-header-radar:2.0.3' //雷达刷新头
implementation 'com.scwang.smart:refresh-header-falsify:2.0.3' //虚拟刷新头
implementation 'com.scwang.smart:refresh-header-material:2.0.3' //谷歌刷新头
implementation 'com.scwang.smart:refresh-header-two-level:2.0.3' //二级刷新头
implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //球脉冲加载
implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //经典加载
```

Expand Down
24 changes: 12 additions & 12 deletions README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![License](https://img.shields.io/badge/License%20-Apache%202-337ab7.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Arsenal](https://img.shields.io/badge/Arsenal%20-%20SmartRefresh-4cae4c.svg)](https://android-arsenal.com/details/1/6001)
[![JCenter](https://img.shields.io/badge/%20Jcenter%20-2.0.2-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![JCenter](https://img.shields.io/badge/%20Jcenter%20-2.0.3-5bc0de.svg)](https://bintray.com/scwang90/maven/refresh-layout-kernel/_latestVersion)
[![MinSdk](https://img.shields.io/badge/%20MinSdk%20-%2012%2B%20-f0ad4e.svg)](https://android-arsenal.com/api?level=12)
[![Methods](https://img.shields.io/badge/Methods%20%7C%20Size%20-%20784%20%7C%20122%20KB-d9534f.svg)](http://www.methodscount.com/?lib=com.scwang.smartrefresh%3ASmartRefreshLayout%3A1.1.0)

Expand Down Expand Up @@ -114,20 +114,20 @@ It is recommended that you copy the source code into the project whenever you ne

```
// Note: There will be no default Header and Footer after subcontracting. It needs to be added manually!
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.2' //core
implementation 'com.scwang.smart:refresh-header-classics:2.0.2' //ClassicsHeader
implementation 'com.scwang.smart:refresh-header-radar:2.0.2' //BezierRadarHeader
implementation 'com.scwang.smart:refresh-header-falsify:2.0.2' //FalsifyHeader
implementation 'com.scwang.smart:refresh-header-material:2.0.2' //MaterialHeader
implementation 'com.scwang.smart:refresh-header-two-level:2.0.2' //TwoLevelHeader
implementation 'com.scwang.smart:refresh-footer-ball:2.0.2' //BallPulseFooter
implementation 'com.scwang.smart:refresh-footer-classics:2.0.2' //ClassicsFooter
implementation 'com.scwang.smart:refresh-layout-kernel:2.0.3' //core
implementation 'com.scwang.smart:refresh-header-classics:2.0.3' //ClassicsHeader
implementation 'com.scwang.smart:refresh-header-radar:2.0.3' //BezierRadarHeader
implementation 'com.scwang.smart:refresh-header-falsify:2.0.3' //FalsifyHeader
implementation 'com.scwang.smart:refresh-header-material:2.0.3' //MaterialHeader
implementation 'com.scwang.smart:refresh-header-two-level:2.0.3' //TwoLevelHeader
implementation 'com.scwang.smart:refresh-footer-ball:2.0.3' //BallPulseFooter
implementation 'com.scwang.smart:refresh-footer-classics:2.0.3' //ClassicsFooter
```
<!-- // The package name of `com.scwang.smartrefresh` is retained, but not subcontracted. -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshHeader:2.0.2' //Headers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshFooter:2.0.2' //Footers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshLayout:2.0.2' //core、 default Header and Footer -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshHeader:2.0.3' //Headers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshFooter:2.0.3' //Footers -->
<!-- implementation 'com.scwang.smartrefresh:SmartRefreshLayout:2.0.3' //core、 default Header and Footer -->

If you use AndroidX, add it to gradle.properties

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (new File(file).exists()) {
properties.load(new FileInputStream(file))
if ('true' == properties['SMART_PUBLISH']) {
subprojects {
if (name.startsWith("refresh-") && !name.contains("drawable")) {
if (name.startsWith("refresh-")) {
group = SMART_GROUP
version = SMART_VERSION
if (name.split('-').length > 2) {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ org.gradle.jvmargs=-Xmx1536m

SMART_USER=scwang90
SMART_GROUP=com.scwang.smart
SMART_VERSION=2.0.2
SMART_VERSION=2.0.3
SMART_PUBLISH=false

0 comments on commit ac4a5bd

Please sign in to comment.