概述
implementation 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
// 导航
implementation 'com.android.support:design:26+'
// Gson
implementation 'com.google.code.gson:gson:2.2.4'
// pulltorefresh
implementation 'com.github.userswlwork:pull-to-refresh:1.0.0'
// banner
implementation 'com.youth.banner:banner:1.4.9'
// recycle
implementation 'com.android.support:recyclerview-v7:27.1.1'
implementation 'com.jcodecraeer:xrecyclerview:1.5.8'
// OkHttp
implementation 'com.squareup.okhttp3:okhttp:3.4.1'
implementation 'com.squareup.okio:okio:1.5.0'
// glide
implementation 'com.github.bumptech.glide:glide:4.4.0'
implementation 'com.github.bumptech.glide:glide:3.6.1'
// fresco
{
implementation 'com.facebook.fresco:fresco:1.8.1'
implementation 'com.facebook.fresco:fresco:1.3.0'
// 支持webp
implementation 'com.facebook.fresco:webpsupport:1.3.0'
// gif加载使用
implementation 'com.facebook.fresco:animated-gif:1.3.0'
// WebP(静态图+动图)加载使用
implementation 'com.facebook.fresco:animated-webp:1.3.0'
}
// eventBus
implementation 'org.greenrobot:eventbus:3.1.1'
// butterKnife
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
{
//添加retrofit依赖
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
//添加gson转换器的依赖
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
}
implementation 'org.greenrobot:greendao:3.2.2' // add library
//配置数据库的信息
greendao {
schemaVersion 1
daoPackage 'com.dash.a04_green_dao.gen'//换成自己的包名
targetGenDir 'src/main/java'
}
// In your root build.gradle file: buildscript { repositories { jcenter() mavenCentral() // add repository } dependencies { classpath 'com.android.tools.build:gradle:2.3.3' classpath 'org.greenrobot:greendao-gradle-plugin:3.2.2' // add plugin } } // In your app projects build.gradle file: apply plugin: 'com.android.application' apply plugin: 'org.greenrobot.greendao' // apply plugin
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation "io.reactivex.rxjava2:rxjava:2.1.10"
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.4-7'
implementation 'com.squareup.okhttp3:logging-interceptor:3.5.0'
https://www.jianshu.com/p/e044cab4f530
底部导航栏{
implementation 'com.hjm:BottomTabBar:1.1.3'
参考博客: https://www.jianshu.com/p/ade8485a16be
implementation 'com.ashokvarma.android:bottom-navigation-bar:2.0.2'
参考博客: https://www.jianshu.com/p/134d7847a01e
设计原则参考: http://www.uisdc.com/bottom-navigation-design-principle
五种方式实现Android底部导航栏
https://segmentfault.com/a/1190000007697941
}
悬浮菜单{
BoomMenu: implementation 'com.nightonke:boommenu:x.y.z'
参考博客: https://blog.csdn.net/qq_28934205/article/details/51329282
FloatMenu: implementation 'com.yw.game.floatmenu:FloatMenu:2.0.1'
参考博客: https://blog.csdn.net/qq_28934205/article/details/51329282
FloatingActionButtonMenu: implementation 'com.getbase:floatingactionbutton:1.10.1'
参考博客: https://blog.csdn.net/lynnchurch/article/details/51917296
}
悬浮效果 https://www.jianshu.com/p/167507486ff2
// 二维码
implementation 'com.github.jwkj:LibZXing:v1.0.4'
修改状态栏颜色: implementation 'com.jaeger.statusbaruitl:library:1.0.0'
StatusBarUtil.setColor(context, color);
// mock单元测试
testCompile 'org.mockito:mockito-core:1.+'
//进度条{
implementation 'me.zhanghai.android.materialprogressbar:library:1.1.7'
implementation 'com.daimajia.numberprogressbar:library:1.2@aar'
}
动画框架{
参考博客 : https://blog.csdn.net/msn465780/article/details/69228403
25种动画框架 https://blog.csdn.net/u013101864/article/details/51500136
}
photoView{
implementation 'com.github.chrisbanes:PhotoView:2.0.0'
implementation 'com.bm.photoview:library:1.4.1'
}
cardView
implementation 'com.android.support:cardview-v7:25.1.0'
最后
以上就是眯眯眼蚂蚁为你收集整理的android 常用依赖的全部内容,希望文章能够帮你解决android 常用依赖所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复