使用Retrofit进行Http、Https网络请求(快速上手)

1.配置gradle //注解包 compile 'com.jakewharton:butterknife:7.0.0' //Retrofit2所须要的包//这里须要值得注意的是导入的retrofit2包的版本必需要一致,不然就会报错compile 'com.squareup.retrofit2:retrofit:2.0.0' //ConverterFactory的Gson依赖包 compile
相关文章
相关标签/搜索