android開發框架所必須的組件包

 

1>Android自帶的控件包:

appcompat-v7, support-v4, design, annotations, recyclerview-v7, support-compat, cardview-v7

這些包對應Android的RecyclerView,ViewPager等常用的控件,同時也包含Android註解,對應的build.gradle寫法:

compile     : "com.android.support:appcompat-v7:25.0.0",
compile     : "com.android.support:support-v4:25.0.0",
compile     : "com.android.support:design:25.0.0",
compile     : "com.android.support:support-annotations:25.0.0",
compile     : "com.android.support:recyclerview-v7:25.0.0",
compile     : "com.android.support:support-compat:25.0.0",
compile     : "com.android.support:cardview-v7:25.0.0"

2>  multidex(解決包體積代碼過大65535問題)

compile     :"com.android.support:multidex:1.0.0"

3>  butterknife(註解相關依賴)

compile     :"com.jakewharton:butterknife:8.4.0"
compile     :"com.jakewharton:butterknife-compiler:8.4.0"

4>  eventbus(Android 事件總線)

compile     :"org.greenrobot:eventbus:3.0.0"

5>  glide (加載圖片框架Glide以及Glide圖片轉換框架)

compile     :"com.github.bumptech.glide:glide:3.7.0"
compile     :"jp.wasabeef:glide-transformations:2.0.0"

6>  avi-loading(加載動畫框架各種形式動畫)

compile     :"com.wang.avi:library:2.1.0"

7>  Rxjava(Android鏈式操作庫)

compile     :"io.reactivex.rxjava2:rxandroid:2.0.1"
compile     :"io.reactivex.rxjava2:rxjava:2.0.1"

8>  Retrofit(基於註解的網絡請求框架)同時包含Okhttp

compile     :"com.squareup.retrofit2:retrofit:2.0"
compile     :"com.squareup.retrofit2:converter-gson:2.0"
compile     :"com.squareup.retrofit2:adapter-rxjava:2.0"
compile     :"com.squareup.okhttp3:logging-interceptor:3.8.0"
compile     :"com.squareup.okhttp3:okhttp::3.8.0"

9>  rxlifecycle(檢測Rxjava內存泄漏)

compile     :"com.trello.rxlifecycle2:rxlifecycle:2.0"
compile     :"com.trello.rxlifecycle2:rxlifecycle-android:2.0"
compile     :"com.trello.rxlifecycle2:rxlifecycle-components::2.0"

10>  rxpermissions(基於Rxjava的Android權限檢查)

compile     :"com.tbruyelle.rxpermissions2:rxpermissions:0.9.5@aar"

11>  大牛封裝的Okgo框架(包含上傳下載的封裝)

compile     :"com.lzy.net:okgo:3.0.4"
compile     :"com.lzy.net:okserver:2.0.5"

12>  logger Android日誌包

compile     :"com.orhanobut:logger:2.1.1"

13> 進度條框架numberprogressbar

compile     :"com.daimajia.numberprogressbar:library:1.4@aar"

14>圖片壓縮框架compressor

compile     :"id.zelory:compressor:2.1.0"

15>圓形圖片框架circleimageview

compile     :"de.hdodenhof:circleimageview:2.2.0"

16>郭霖大神的litepal,數據庫查詢

compile     :"org.litepal.android:core:1.6.0"

17>伸縮放大圖片組件photoview

compile     :"com.github.chrisbanes.photoview:library:1.2.4"

18>顯示空的控件佈局emptyview

compile     :"com.github.santalu:emptyview:1.0.4"

19>封裝一個基類的baseadapter 適配器

compile     :"com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.31"

20>顯示空的控件佈局emptyview

compile     :"com.github.santalu:emptyview:1.0.4"

21>監控APP異常的騰訊bugly

compile     :"com.tencent.bugly:crashreport:latest.release"

22>數據庫框架greendao

compile     :"org.greenrobot:greendao:3.2.2"

23>Android滾動圖片展示banner

compile     :"com.youth.banner:banner:1.4.9"

24>標籤根據大小換行的flexbox

compile     :"com.google.android:flexbox:1.0.0"

 

 

 

 

 

 

 

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