各种依赖集合

// image-loader
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'
}

 

 

// greenDao
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

}

 

 

    //注意 rxjava2是2.0的 不加2表示的是1.0
    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'

    

    okHttp日志拦截

 

 
  1. implementation 'com.squareup.okhttp3:logging-interceptor:3.5.0'

  2.  
  3.  

 HttpLoggingInterceptor logInterceptor = new HttpLoggingInterceptor(new HttpLogger());

logInterceptor.setLevel(HttpLoggingInterceptor.Level.BODY);

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'

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值