公司新上線了一個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'

 

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