5 Forks
27 Stars
27 Watchers

RxHttp

基于RxJava2+Retrofit+OkHttp4.x封装的网络请求类库,亮点多多,完美兼容MVVM(ViewModel,LiveData),天生支持网络请求和生命周期绑定,天生支持多BaseUrl,支持文件上传下载进度监听,支持断点下载,支持Glide和网络请求公用一个OkHttpClient:star::star::star:

How to download and setup RxHttp

Open terminal and run command
git clone https://github.com/kongpf8848/RxHttp.git
git clone is used to create a copy or clone of RxHttp repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with RxHttp https://github.com/kongpf8848/RxHttp/archive/master.zip

Or simply clone RxHttp with SSH
[email protected]:kongpf8848/RxHttp.git

If you have some problems with RxHttp

You may open issue on RxHttp support forum (system) here: https://github.com/kongpf8848/RxHttp/issues