Android网路通信框架
程序员文章站
2024-02-11 12:40:58
...
网路通信框架
-
xutils:3.5.0
网络请求框架
Github https://github.com/wyouflf/xUtils
JCenter下载:http://jcenter.bintray.com/org/xutils/xutils/
Maven下载1:http://central.maven.org/maven2/org/xutils/xutils/
Maven下载2:http://repo1.maven.org/maven2/org/xutils/xutils/
implementation 'org.xutils:xutils:3.5.0'
-
retrofit2
网络请求框架
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
compile 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
-
rxNetWork
rxjava和Retrofit的封装依赖库
https://github.com/7449/RxNetWork
implementation 'com.ydevelop:rxNetWork:0.1.3'
-
rxNetWork等依赖其他库
https://github.com/7449/RxNetWork
https://github.com/Laimiux/rxnetwork-android
https://github.com/hahawaa1/RxNetWork
-
httpclient
apache,网络框架
compile 'org.apache.httpcomponents:httpclient:4.5.5'
-
okhttp3
网络请求框架
compile 'com.squareup.okhttp3:okhttp:3.9.0'
compile 'com.squareup.okio:okio:1.13.0'
implementation 'com.squareup.okhttp3:okhttp:3.9.0'
implementation 'com.squareup.okio:okio:1.13.0'
上一篇: 决策树中基尼不纯度初步理解