studio升级到3.0居然搜不到依赖,买了个表。有办法的小伙伴评论一下
放一些个人用的依赖。
图片ImageLoader
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
Fresco图片加载
compile 'com.facebook.fresco:fresco:1.5.0'
Glide图片加载
compile 'com.github.bumptech.glide:glide:3.7.0'
XRecyclerView
compile 'com.android.support:recyclerview-v7:26.0.0-alpha1'
compile 'com.jcodecraeer:xrecyclerview:1.3.2'
OKHTTP
compile 'com.squareup.okhttp3:okhttp:3.9.0'
compile 'com.squareup.okio:okio:1.13.0'
GSON解析
compile 'com.google.code.gson:gson:2.2.4'
Banner
compile 'com.youth.banner:banner:1.4.9'
EventBus
compile 'org.greenrobot:eventbus:3.0.0'
Retrofit网络请求
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
若和观察者结合的话,需加上如下依赖:
compile 'com.squareup.retrofit2:adapter-rxjava:2.1.0'
RxJava
compile 'io.reactivex:rxjava:1.0.14'
compile 'io.reactivex:rxandroid:1.2.1'
黄油刀
compile 'com.jakewharton:butterknife:8.8.1'
compile 'com.jakewharton:butterknife-compiler:8.8.1'
javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath true
}
}
Tablayout
compile 'com.android.support:design:25.3.1'
NumberProgressBar
compile 'com.daimajia.numberprogressbar:library:1.2@aar'
目前就这些吧。使用到其他的在加上来。