网络
努力努力~(不负青春)
青春不再年少!
展开
-
简单的几种请求实现(retrofit由于时间问题,下次补上)
//首先是jar包以及依赖,网络权限设置 //xutils依赖 compile 'org.xutils:xutils:3.5.0' //volley请求 compile 'com.github.erd:android-volley:1.0.0' compile 'com.jakewharton:butterknife:6.1.0' //okhttp包 compile files('libs/原创 2017-07-09 18:31:49 · 492 阅读 · 0 评论 -
补上上次网络请求没写retrofit
//一些需要用到的依赖, annotationProcessor 'com.jakewharton:butterknife-compiler:8.4.0' //retrofit依赖 compile 'com.squareup.retrofit2:retrofit:2.1.0' //retrofit自带的一些解析 compile 'com.squareup.retrofit2:converte原创 2017-07-17 16:03:22 · 327 阅读 · 0 评论