The Wayback Machine - https://web.archive.org/web/20200524131726/https://github.com/leavesC/ReactiveHttp
Skip to content
基于 ViewModel + LiveData + 协程/RxJava + Retrofit封装的网络请求框架,MVVM 架构
Kotlin
Branch: kotlin_corouti…
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
app 优化 May 7, 2020
core
doc
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

ReactiveHttp

这是一个用于阐述如何利用第三方库来自定义封装网络请求框架的开源库,随着技术栈的升级,本开源库的实现逻辑及基础库也一直在变化。目前,本开源库共对应着两个大版本/分支,每个版本我都写了详细的文章来阐述封装思路:

  • java_rxjava_jetpack 分支,介绍文章:1.0版本
  • kotlin_rxjava_jetpack 分支,介绍文章:2.0版本

顾名思义,分支名就涵盖了该版本所采用的技术栈,kotlin 语言也是目前 Android 的开发趋势

为了方便读者理解,这里我也提供了一个 Demo 供读者参考,2.0 版本其本身就是一个完整的天气预报App,读者可以自行下载运行

App下载:Weather

You can’t perform that action at this time.