公司新上线了一个app,顺手把一些常用的依赖整理一下子

1.首先是快速绑定控件的butterKnife(可能会引起手机发烫)

implementation 'com.jakewharton:butterknife:7.0.1'
annotationProcessor 'com.jakewharton:butterknife:7.0.1'

2.加载图片Gilde

implementation 'jp.wasabeef:glide-transformations:3.0.1'
implementation 'com.github.bumptech.glide:glide:3.8.0'
//glide毛玻璃效果
implementation 'jp.wasabeef:glide-transformations:3.0.1'

3.网络框架Okhttp(okhttp原依赖和zhy大神的okhttpUtils依赖,看个人喜好)

implementation 'com.squareup.okhttp3:okhttp:3.5.0'
implementation 'com.zhy:okhttputils:2.0.0'

4.来自网上的一个可拉伸拖拽的图片空间PhotoView

implementation 'com.github.chrisbanes:PhotoView:2.0.0'

5.网络解析Gson

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

6.简易图片选择,拍照框架PictureSelector

implementation 'com.github.LuckSiege.PictureSelector:picture_library:v2.2.3'

7.阿里云Oss依赖,那个sdk最好选择最新的,或者+,不然有可能某些机型上传失败(踩过的坑。。)

implementation 'com.aliyun.dpa:oss-android-sdk:+'
implementation 'com.squareup.okio:okio:1.9.0'

8.绚丽的粒子爆炸动画

implementation 'com.plattysoft.leonids:LeonidsLib:1.3.2'

9.ZXing二维码

implementation 'com.acker:simplezxing:1.5'
implementation 'cn.bingoogolapple:bga-qrcode-zbar:1.2.1'

10.android选择器

implementation 'cn.qqtheme.framework:AndroidPicker:latest.integration'
//仿苹果做的选择器
implementation 'com.contrarywind:Android-PickerView:3.2.5'
//仿苹果做的滑动选择器
implementation 'com.github.zcweng:switch-button:0.0.3@aar'

11.左滑微信聊天效果
implementation 'com.baoyz.swipemenulistview:library:1.3.0'

12.多种炫酷的下拉刷新

implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-7'

13.Banner轮播

implementation 'com.youth.banner:banner:1.4.9'

14.网络请求okGo

implementation 'com.lzy.net:okgo:3.0.4'

15.灵活的TabLayout

implementation 'com.flyco.roundview:FlycoRoundView_Lib:1.1.2@aar'
implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:1.5.0@aar'

16.数据间的传递EventBus

implementation 'org.greenrobot:eventbus:3.0.0'

17.绿刀

implementation 'org.greenrobot:greendao:3.2.2'

18.网络请求Retrofit+Rxjava

implementation 'io.reactivex:rxandroid:1.1.0'
implementation 'io.reactivex:rxjava:1.1.0'

19.轮播Xbanner

implementation 'com.xhb:xbanner:1.2.7'

还有一些推送分享就不贴出来了,导入这些依赖上网搜一下用法,一搜一大堆,就不做详细解释了,实用至上!

那天新写了一个小demo,突然尴尬的发现recycleView没了,找了半天,尴尬尴尬,也贴出来吧。

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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章