常用依赖

2020-11-21  本文已影响0人  考试小灵通

 implementation 'com.google.code.gson:gson:2.2.4'

implementation 'com.android.support:design:30.1.1'

implementation 'com.github.bumptech.glide:glide:4.8.0'//加载图片的框架

implementation 'com.youth.banner:banner:1.4.10' //轮播图依赖

implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.4-7'

implementation 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.4-7'

implementation 'com.github.dfqin:grantor:2.5'//动态权限

implementation 'com.squareup.okhttp3:okhttp:3.11.0' // ok依赖

implementation 'com.squareup.retrofit2:retrofit:2.4.0'//Retrofit依赖

implementation 'com.squareup.retrofit2:converter-gson:2.4.0' // 可选依赖,解析json字符所用

implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0' // 必要依赖,和Rxjava结合必须用到,下面会提到

implementation "io.reactivex.rxjava2:rxjava:2.1.3" // 必要rxjava2依赖

implementation "io.reactivex.rxjava2:rxandroid:2.0.1" // 必要rxandrroid依赖,切线程时需要用到

implementation 'org.greenrobot:eventbus:3.1.1'//eventbus发送消息

implementation 'org.greenrobot:greendao:3.2.2' // add library

    implementation 'org.greenrobot:greendao-generator:3.2.2'

上一篇下一篇

猜你喜欢

热点阅读