### Gson解析依赖
implementation 'com.google.code.gson:gson:2.2.4'
### 侧滑菜单依赖
implementation 'com.android.support:design:26.1.0'
### 解析图片依赖
implementation 'com.github.bumptech.glide:glide:3.8.0'
### 图片依赖
implementation 'com.github.bumptech.glide:glide:4.1.1'
//圆形,方形,只是bitmapTransform里面的值不同
//Glide.with().load().apply(RequestOptions.bitmapTransform(new CircleCrop())).into();
### 必要依赖,和Rxjava结合必须用到,下面会提到
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0' // 必要依赖,解析json字符所用
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
implementation "io.reactivex.rxjava2:rxjava:2.1.3" // 必要rxjava2依赖
implementation "io.reactivex.rxjava2:rxandroid:2.0.1" // 必要rxandrroid依赖,切线程时需要用到
### Butter依赖
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
### Banner依赖
implementation 'com.youth.banner:banner:1.4.10'
### RecyclerView依赖
implementation 'com.android.support:recyclerview-v7:26.1.0'
### XRecyclerView依赖
implementation 'com.jcodecraeer:xrecyclerview:1.5.9'
### 卡牌布局依赖
implementation 'com.android.support:cardview-v7:26.1.0'
### OkHttp依赖
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
### SmartRefreshLayout依赖:
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.5.1'
implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.5.1'
### eventbus依赖
implementation 'org.greenrobot:eventbus:3.1.1'
网友评论