Skip to content

Commit 9a32d36

Browse files
committed
Release to v2.1.0
1 parent 5db8cc3 commit 9a32d36

File tree

17 files changed

+36
-53
lines changed

17 files changed

+36
-53
lines changed

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# RxErrorHandler
2-
[ ![Bintray](https://img.shields.io/badge/bintray-v2.0.2-brightgreen.svg) ](https://bintray.com/jessyancoding/maven/rxerrorhandler/2.0.2/link)
2+
[ ![Bintray](https://img.shields.io/badge/bintray-v2.1.0-brightgreen.svg) ](https://bintray.com/jessyancoding/maven/rxerrorhandler/2.1.0/link)
33
[ ![Build Status](https://travis-ci.org/JessYanCoding/RxErrorHandler.svg?branch=master) ](https://travis-ci.org/JessYanCoding/RxErrorHandler)
44
[ ![API](https://img.shields.io/badge/API-15%2B-blue.svg?style=flat-square) ](https://developer.android.com/about/versions/android-4.0.3.html)
55
[ ![License](http://img.shields.io/badge/License-Apache%202.0-blue.svg?style=flat-square) ](http://www.apache.org/licenses/LICENSE-2.0)
@@ -9,7 +9,7 @@
99
## Download
1010

1111
``` gradle
12-
compile 'me.jessyan:rxerrorhandler:2.0.2' //rxjava2
12+
compile 'me.jessyan:rxerrorhandler:2.1.0' //rxjava2
1313
1414
compile 'me.jessyan:rxerrorhandler:1.0.1' //rxjava1
1515
```
@@ -48,6 +48,17 @@ compile 'me.jessyan:rxerrorhandler:1.0.1' //rxjava1
4848
}
4949

5050
});
51+
52+
//Backpressure
53+
Flowable
54+
.error(new Exception("Error"))
55+
.retryWhen(new RetryWithDelayOfFlowable(3, 2))//retry(http connect timeout)
56+
.subscribe(new ErrorHandleSubscriberOfFlowable<Object>(rxErrorHandler) {
57+
@Override
58+
public void onNext(Object o) {
59+
60+
}
61+
});
5162
```
5263

5364

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ dependencies {
2727
compile fileTree(include: ['*.jar'], dir: 'libs')
2828
compile 'com.android.support:appcompat-v7:26.0.2'
2929
compile 'io.reactivex.rxjava2:rxjava:2.1.3'
30-
// compile 'me.jessyan:rxerrorhandler:2.0.2'
30+
// compile 'me.jessyan:rxerrorhandler:2.1.0'
3131
compile project(':rxerrorhandler')
3232
}

app/src/androidTest/java/me/jessyan/rxerrorhandler/demo/ApplicationTest.java

Lines changed: 0 additions & 13 deletions
This file was deleted.

app/src/main/java/me/jessyan/rxerrorhandler/demo/App.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
/**
3232
* ================================================
3333
* Created by JessYan on 22/09/2017 15:01
34-
* Contact with <mailto:jess.yan.effort@gmail.com>
35-
* Follow me on <https://github.com/JessYanCoding>
34+
* <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
35+
* <a href="https://github.com/JessYanCoding">Follow me</a>
3636
* ================================================
3737
*/
3838
public class App extends Application {

app/src/main/java/me/jessyan/rxerrorhandler/demo/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
/**
3030
* ================================================
3131
* Created by JessYan on 9/2/2016 13:27
32-
* Contact with <mailto:jess.yan.effort@gmail.com>
33-
* Follow me on <https://github.com/JessYanCoding>
32+
* <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
33+
* <a href="https://github.com/JessYanCoding">Follow me</a>
3434
* ================================================
3535
*/
3636
public class MainActivity extends AppCompatActivity {

app/src/test/java/me/jessyan/rxerrorhandler/demo/ExampleUnitTest.java

Lines changed: 0 additions & 15 deletions
This file was deleted.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ ext {
2929
targetSdkVersion = 26
3030
compileSdkVersion = 26
3131
buildToolsVersion = "26.0.1"
32-
versionCode = 5
33-
versionName = "2.0.5"
32+
versionCode = 10
33+
versionName = "2.1.0"
3434
}

gradle/wrapper/gradle-wrapper.jar

52.4 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#Wed May 03 22:49:52 CST 2017
1+
#Mon Jul 17 10:56:19 CST 2017
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME

rxerrorhandler/bintray.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ publish {
1919
userOrg = 'jessyancoding' //bintray注册的用户名
2020
groupId = 'me.jessyan' //compile引用时的第1部分groupId
2121
artifactId = 'rxerrorhandler' //compile引用时的第2部分项目名
22-
publishVersion = '2.0.2' //compile引用时的第3部分版本号
22+
publishVersion = rootProject.versionName //compile引用时的第3部分版本号
2323
desc = 'Error Handle Of Rxjava'
2424
website = siteUrl
2525
}

0 commit comments

Comments
 (0)