Gson解析
compile 'com.google.code.gson:gson:2.8.2'
okhttp 取代URLhttp
compile 'com.squareup.okhttp3:okhttp:3.6.0'
recyclerview listview 和groveiew
implementation 'com.android.support:recyclerview-v7:26.1.0'
/图片加载框架glide
compile 'com.github.bumptech.glide:glide:3.7.0'
/加载图片
Glide
.with(context)
.load(list.get(position).getIcon())
.into(holder.image);
//OkHttp: compile 'com.squareup.okhttp3:okhttp:3.6.0' //xRecyclerView: compile 'com.jcodecraeer:xrecyclerview:1.3.2' //Glide: compile 'com.github.bumptech.glide:glide:3.7.0' //gson: compile 'com.google.code.gson:gson:2.8.2'