From 579b5b7aee0f4eed6e205964e6a9fc7589e395a1 Mon Sep 17 00:00:00 2001 From: liujingxing <18268800083ljx@gmail.com> Date: Mon, 24 Apr 2023 20:12:48 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A7=E8=87=B33.?= =?UTF-8?q?0.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README_zh.md | 6 +++--- .../java/com/example/httpsender/fragment/RxJavaFragment.kt | 4 ++-- gradle.properties | 2 +- maven_dependency.md | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index f6338693..4047767c 100644 --- a/README.md +++ b/README.md @@ -153,7 +153,7 @@ android { } dependencies { - def rxhttp_version = '3.0.2' + def rxhttp_version = '3.0.3' implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation "com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version" // ksp/kapt/annotationProcessor choose one diff --git a/README_zh.md b/README_zh.md index 2d707e5c..775112d0 100644 --- a/README_zh.md +++ b/README_zh.md @@ -197,7 +197,7 @@ android { } //3、添加依赖 dependencies { - def rxhttp_version = '3.0.2' + def rxhttp_version = '3.0.3' implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation "com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version" annotationProcessor "com.github.liujingxing.rxhttp:rxhttp-compiler:$rxhttp_version" @@ -229,7 +229,7 @@ plugins { } dependencies { - def rxhttp_version = '3.0.2' + def rxhttp_version = '3.0.3' implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation "com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version" kapt "com.github.liujingxing.rxhttp:rxhttp-compiler:$rxhttp_version" @@ -270,7 +270,7 @@ plugins { } dependencies { - def rxhttp_version = '3.0.2' + def rxhttp_version = '3.0.3' implementation 'com.squareup.okhttp3:okhttp:4.10.0' implementation "com.github.liujingxing.rxhttp:rxhttp:$rxhttp_version" ksp "com.github.liujingxing.rxhttp:rxhttp-compiler:$rxhttp_version" diff --git a/app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt b/app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt index 0909f061..8998f7e9 100644 --- a/app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt +++ b/app/src/main/java/com/example/httpsender/fragment/RxJavaFragment.kt @@ -29,8 +29,8 @@ import java.io.File * ``` * RxHttp.postXxx("/service/...") * .add("key", "value") - * .asClass() - * .subscribe(user ->{ + * .toObservable() + * .subscribe(user -> { * * }, throwable -> { * diff --git a/gradle.properties b/gradle.properties index 1687c5b1..55c82d79 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,7 +20,7 @@ org.gradle.jvmargs=-Xmx1536m okhttp_version=4.10.0 rxjava_version=3.1.6 rxlife_version=2.2.2 -rxhttp_version=3.0.3-beta2 +rxhttp_version=3.0.3 lifecycle_version=2.5.1 ksp_version=1.8.0-1.0.9 diff --git a/maven_dependency.md b/maven_dependency.md index 3a07aab1..465ef497 100644 --- a/maven_dependency.md +++ b/maven_dependency.md @@ -16,7 +16,7 @@ com.github.liujingxing.rxhttp rxhttp - 3.0.2 + 3.0.3 @@ -48,7 +48,7 @@ com.github.liujingxing.rxhttp rxhttp-compiler - 3.0.2 + 3.0.3