欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Android网路通信框架

程序员文章站 2024-02-11 12:40:58
...

网路通信框架

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'