GitHub優(yōu)秀開源工具---Android

動畫框架:

  1. ListViewAnimations 列表框架
    compile 'com.nhaarman.listviewanimations:lib-core:3.1.0@aar'
    compile 'com.nhaarman.listviewanimations:lib-manipulation:3.1.0@aar'
    compile 'com.nhaarman.listviewanimations:lib-core-slh:3.1.0@aar'
  1. NineOldAndroids 簡單的動畫庫
    compile 'com.nineoldandroids:library:2.4.0'
  1. Android-flip 翻頁效果
    android-flip-master

  2. AndroidViewAnimations 強大的動畫組件

    compile 'com.android.support:support-compat:25.1.1'
    compile 'com.daimajia.easing:library:2.0@aar'
    compile 'com.daimajia.androidanimations:library:2.3@aar'
  1. Material-Animations

    • Activity 之間的跳轉(zhuǎn), Fragment 與 Fragment 之間的跳轉(zhuǎn),以及各個 View 變化前后的過渡動畫
    • Material-Animations-master
  2. Rebound

    • 一個彈性動畫庫, 可以讓動畫看起來真實自然, 像真實世界的物理運動帶有力的效果, 使用的參數(shù)則是 Facebook 的 origami 中使用的
    compile 'com.facebook.rebound:rebound:0.3.8'
  1. AndroidImageSlider
    • 為ViewPager圖片滑動提供多種動畫效果, 還可以輕易為ViewPager加載網(wǎng)絡(luò)圖片
    compile 'com.daimajia.androidanimations:library:1.0.3@aar'
    compile 'com.daimajia.slider:library:1.1.5@aar'
  1. AVLoadingIndicatorView
    • 庫含有各種各樣漂亮的加載動畫效果
    compile 'com.wang.avi:library:2.1.3'
  1. Lottie---json動畫視圖
compile 'com.airbnb.android:lottie:2.2.0'

UI框架:

  1. IRecyclerView--擴(kuò)展類
    • IRecyclerView 經(jīng)典/酷炫 刷新事镣,更多俐填,頭尾視圖
    compile 'com.github.Aspsine:IRecyclerView:0.0.5'
  1. MaterialDesignLibrary
    • 控件都是遵循了 Google Material Design 設(shè)計規(guī)范開發(fā)出來,
    • 例如有: Flat Button, Rectangle Button, CheckBox, Switch,
    • Progress bar circular indeterminate
    compile 'com.nineoldandroids:library:2.4.0'
    compile 'com.github.navasmdc:MaterialDesign:1.5@aar'
  1. MaterialDialog
    • Material Dialogs 是一個可高度定制易用, 符合 Material Design 風(fēng)格的 Dialogs
    The *core* module contains all the major classes of this library, including `MaterialDialog`.
    You can create basic, list, single/multi choice, progress, input, etc. dialogs with core.

    compile 'com.afollestad.material-dialogs:core:0.9.4.5`

    The *commons* module contains extensions to the library that not everyone may need. This includes the
`ColorChooserDialog`, `FolderChooserDialog`, the Material `Preference` classes, and `MaterialSimpleListAdapter`/`MaterialSimpleListItem`.

    compile 'com.afollestad.material-dialogs:commons:0.9.4.5'
  1. Observablescrollview
    • 上劃聯(lián)動
    • 實現(xiàn)擁有 Material Design 應(yīng)用視覺體驗的界面外觀,
    • 支持ListView, ScrollView, WebView, RecyclerView, GridView組件
    compile 'com.github.ksoichiro:android-observablescrollview:1.6.0'
  1. FloatingActionButton---懸浮按鈕菜單
    compile 'com.github.clans:fab:1.6.4'
  1. ZDepthShadowLayout---陰影
    compile 'com.github.ShogoMizumoto:ZDepthShadowLayout:1.0.4'
  1. CircleImageView---帶邊框的圓形視圖
    compile 'de.hdodenhof:circleimageview:2.1.0'
  1. Banner--圖片輪播控件
    compile 'com.youth.banner:banner:1.4.9' 
  1. PhotoView
    • 支持 Pinch 手勢自由縮放, 支持雙擊放大/還原, 支持平滑滾動
    compile 'com.github.chrisbanes:PhotoView:1.2.5'
  1. MaterialDrawer側(cè)滑菜單
    compile('com.mikepenz:materialdrawer:5.9.4@aar') {
        transitive = true
    }
  1. ViewPagerIndicator---指示器
    compile 'com.github.JakeWharton:ViewPagerIndicator:2.4.1'

12.Bootstrap--- Android版的Bootstrap

    compile 'com.beardedhen:androidbootstrap:2.3.1'

13.SwipeLayout---左右滑動静稻,可刪除條目

    compile "com.daimajia.swipelayout:library:1.2.0@aar"
  1. AndroidSlidingUpPanel
    • 顯示面板控件
    • 在底部顯示部分控件钠惩,可上劃忆矛,
    • 初始顯示區(qū)域高度小于等于68dp
    compile 'com.sothree.slidinguppanel:library:3.3.1'
  1. MaterialViewPager
    • 一個簡單易用 Material Design 風(fēng)格的 ViewPager 庫
    compile ('com.github.florent37:materialviewpager:1.2.1@aar'){
        transitive = true;
    }
  1. Android-Ultra-Pull-To-Refresh
    • 非常強大的下拉刷新庫
    • 功能甚至比 SwipeRefreshLayout 強大
   compile 'in.srain.cube:ultra-ptr:1.0.11'
  1. AppIntro
    • 快速搭建漂亮酷炫的引導(dǎo)頁庫
    compile 'com.github.apl-devs:appintro:v4.2.0'
  1. ShowcaseView
    • 非常適合用于對用戶進(jìn)行第一次使用進(jìn)行指導(dǎo)的庫
    compile 'com.github.amlcurran.showcaseview:library:5.4.3'
  1. Calligraphy
    • 簡化 Android 應(yīng)用使用自定義字體的類庫
    compile 'uk.co.chrisjenx:calligraphy:2.3.0@aar'
  1. Material
    • Material 是將 Material Design 風(fēng)格控件封裝在該庫當(dāng)中,
    • 目前封裝有Progress, Button, Switch, Slider, Spinner, Text Field, TabPageIndicator, SnackBar, Dialog, BottomSheetDialog, Dynamic theme
    compile 'com.github.rey5137:material:1.2.4'
  1. RippleEffect
    • 實現(xiàn)在 Android 任何組件點擊出現(xiàn) Material Design 的波紋效果
    • 向下兼容到 Android API9
    compile 'com.github.traex.rippleeffect:library:1.3'
  1. SmoothProgressBar
    • 酷炫進(jìn)度條
    • 實現(xiàn)可定制, 平滑動畫的水平滾動進(jìn)度條庫
    compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
    compile 'com.github.castorflex.smoothprogressbar:library-circular:1.1.0'
  1. UltimateRecyclerView
    • RecyclerView(advanced and flexible version of ListView), 包括了下拉刷新, 加載更多, 多種動畫, 空數(shù)據(jù)提示, 拖動排序, 視差處理, 工具欄漸變, 滑動刪除, 自定義floating button, 多種刷新效果, scrollbar, sticky header, 多 layout 支持等等元素
    compile 'com.marshalchen.ultimaterecyclerview:library:0.7.2'
  1. MaterialEditText
    • 就職于 Flipboard 的員工 扔物線 開發(fā)的, 在 AppCompat v21 中也提供了 Material Design 的控件 EditText, 可是由于比較難用, 沒有提供設(shè)置顏色的 Api, 于是就產(chǎn)生這個第三方庫
    compile 'com.rengwuxian.materialedittext:library:2.1.4'
  1. Side-Menu.Android
    • 提供翻頁動畫效果的側(cè)邊菜單
    compile ('com.github.ozodrukh:CircularReveal:2.0.1@aar') {
        transitive = true;
    }
    compile 'com.github.yalantis:Side-Menu.Android:1.0.1'
  1. SystemBarTint
    • 實現(xiàn)沉浸式狀態(tài)欄庫, 適用于 Android 系統(tǒng) 4.4 其以上的版本
    compile 'com.github.open-android:SystemBarTint:v1.0.0'
  1. NumberProgressBar
    • 帶簡約性感數(shù)字顯示的進(jìn)度條庫
    compile 'com.daimajia.numberprogressbar:library:1.4@aar'
  1. SwipeBackLayout
    • 支持屏幕上下左右滑動返回上層 Activity, 關(guān)閉當(dāng)前 Activity
    compile 'me.imid.swipebacklayout.lib:library:1.0.0'
  1. android-gif-drawable
    • 支持 gif 顯示的 view, 用 jni 實現(xiàn)的, 編譯生成 so 庫后直接 xml 定義 view
    compile 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
  1. SmartTabLayout
    • 自定義的 Tab title strip, 基于 Google Samples 中的 android-SlidingTabBasic 項目
    compile 'com.ogaclejapan.smarttablayout:library:1.6.1@aar'
    compile 'com.ogaclejapan.smarttablayout:utils-v4:1.6.1@aar'
    compile 'com.ogaclejapan.smarttablayout:utils-v13:1.6.1@aar'
  1. SweetAlert
    • 清新文藝, 快意靈動的甜心彈框, 靈感來源于 JS 版
    compile 'cn.pedant.sweetalert:library:1.3'
  1. KenBurnsView
    • you can change the duration and the interpolator of transitions and pause/resume them.
    compile 'com.flaviofaria:kenburnsview:1.0.7'
  1. UserBottomTabBar---簡單的底部導(dǎo)航
    compile 'com.github.zhaolei9527:UseBottomTabBar:v1.0.3'
  1. JPTabBar---多功能底部導(dǎo)航
    compile 'com.jpeng:JPTabBar:1.2.5'
  1. emojiconize---表情控件
    compile 'io.github.rockerhieu:emojicon:1.4.2'
  1. Badgeview---類似QQ的拖拽效果
    compile 'q.rorbin:badgeview:1.1.2'
  1. DraggableFlagView---仿QQ拖拽效果

  2. IMUI

    • Aurora IMUI 是個通用的即時通訊(IM)UI 庫寂嘉,不特定于任何 IM SDK。
  3. Google 跨平臺 UI 框架 - Flutter

網(wǎng)絡(luò)框架:

  1. OkHttp
    • An HTTP & HTTP/2 client for Android and Java applications.
    compile 'com.squareup.okhttp3:okhttp:3.8.1'
        // 網(wǎng)絡(luò)請求攔截
        compile 'com.squareup.okhttp3:logging-interceptor:3.8.1'
  1. Retrofit---Rx系列封裝
    • A type-safe HTTP client for Android and Java
    compile 'com.squareup.retrofit2:adapter-rxjava:2.3.0'
    compile 'com.squareup.retrofit2:retrofit:2.3.0'
    compile 'com.squareup.retrofit2:converter-gson:2.3.0'
  1. RxJava---響應(yīng)式框架
    compile "io.reactivex.rxjava2:rxjava:2.1.3"
    compile 'io.reactivex:rxandroid:1.2.1'
  1. xUtils
    • xUtils 是一個快速開發(fā)框架, 里面包含 DbUtils, ViewUtils, HttpUtils, BitmapUtils 四大模塊, 可用于快速開發(fā), 支持大文件上傳, 擁有更加靈活的 ORM, 最低兼容 Android 2.2
    compile 'org.xutils:xutils:3.5.0'
  1. Gson
    compile 'com.google.code.gson:gson:2.8.1'
  1. FastJson
    compile 'com.alibaba:fastjson:1.2.37'
    compile 'com.alibaba:fastjson:1.1.62.android'
  1. android-async-http---異步請求
    compile 'com.loopj.android:android-async-http:1.4.9'
  1. Volley
    • AsyncHttpClient 和 Universal-Image-Loader 的優(yōu)點集于了一身
    compile 'com.mcxiaoke.volley:library:1.0.19'
  1. AndroidAsync
    • 基于 NIO 的低端 Android 異步 socket, http (client+server)
    • websocket 和 socket.io 網(wǎng)絡(luò)通信協(xié)議類庫
    compile 'com.koushikdutta.async:androidasync:2.2.1'

通信

  1. EventBus---事件總線機制
    compile 'org.greenrobot:eventbus:3.0.0'

圖片加載框架

  1. Glide---圖片加載
    compile 'com.github.bumptech.glide:glide:4.0.0-RC1'
    annotationProcessor 'com.github.bumptech.glide:compiler:4.0.0-RC1'
  1. Picasso---圖片加載
    compile 'com.squareup.picasso:picasso:2.5.2'
  1. ImageLoader---圖片緩存
    compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
  1. uCrop
    • uCrop 是Yalantis 組織開源的圖片裁剪庫, 支持縮放, 旋轉(zhuǎn)圖片, 支持各種比例的裁剪框, 非常強大的一個圖片裁剪庫
    compile 'com.yalantis:ucrop:2.2.0'
    compile 'com.yalantis:ucrop:2.2.0-native'
  1. CustomShapeImageView
    • A library for supporting custom shaped ImageView(s) using SVGs and paint shapes
    compile 'com.mostafagazar:customshapeimageview:1.0.4'

數(shù)據(jù)庫框架:

  1. GreenDao
    compile 'org.greenrobot:greendao:3.2.2'

注解框架:

  1. Butterknife---可綁定任意View
    compile 'com.jakewharton:butterknife:8.7.0'
    annotationProcessor 'com.jakewharton:butterknife-compiler:8.7.0'
  1. Androidannotations---強大的注解
    annotationProcessor "org.androidannotations:androidannotations:4.3.1"
    compile "org.androidannotations:androidannotations-api:4.3.1"
  1. Dagger---注解工具硼端,利用反射Inject
    compile 'com.squareup.dagger:dagger:1.2.5'
    compile 'com.squareup.dagger:dagger-compiler:1.2.5'

日志打印:

  1. Logger---支持多種類型數(shù)據(jù)打印
    compile 'com.orhanobut:logger:2.1.1'
  1. Timber---支持占位符替換
    compile 'com.jakewharton.timber:timber:4.5.1'

內(nèi)存檢測:

  1. leakcanary---內(nèi)存檢測工具
    debugCompile 'com.squareup.leakcanary:leakcanary-android:1.5.1'
    releaseCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
    testCompile 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.1'
  1. android-weak-handler

圖片壓縮

  1. Compressor
    compile 'id.zelory:compressor:2.1.0'

換膚框架:

  1. Android-skin-support
    compile 'skin.support:skin-support:2.1.9'          // skin-support 基礎(chǔ)控件支持
    compile 'skin.support:skin-support-design:1.2.5'   // skin-support-design material design 控件支持[可選]
    compile 'skin.support:skin-support-cardview:1.2.0' // skin-support-cardview CardView 控件支持[可選]
    compile 'skin.support:skin-support-constraint-layout:1.0.2' // skin-support-constraint-layout ConstraintLayout 控件支持[可選]

MVP框架:

  1. Mosby

工具類集合:

  1. Lambda插件
    This plugin will automatically build your java or android project with retrolambda, giving you lambda goodness on java 6 or 7. It relies on the wonderful retrolambda by Esko Luontola.
    classpath 'me.tatarka:gradle-retrolambda:3.7.0'

    apply plugin: 'me.tatarka.retrolambda'
    
    android{
        ...
        compileOptions {  
            sourceCompatibility JavaVersion.VERSION_1_8  
            targetCompatibility JavaVersion.VERSION_1_8  
        }
    }
  1. Android-Common
    android-common-lib 是 Trinea 大神收集的一些開發(fā)通用的緩存, 公共 View 以及一些常用工具類
    compile 'cn.trinea.android.common:trinea-android-common:4.2.15'
  1. AndroidBucket
    • Android開發(fā)常用整理(不斷擴(kuò)充中)
    • 包含各種工具類、線程池镣典、日志唾琼、自定義的控件、程序崩潰
    • 捕捉處理锡溯、默認(rèn)的Application配置、常用的Adapter等
    compile 'com.github.wangjiegulu:AndroidBucket:1.0.4'
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市甜癞,隨后出現(xiàn)的幾起案子宛乃,更是在濱河造成了極大的恐慌,老刑警劉巖析既,帶你破解...
    沈念sama閱讀 219,039評論 6 508
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件眼坏,死亡現(xiàn)場離奇詭異酸些,居然都是意外死亡檐蚜,警方通過查閱死者的電腦和手機沿侈,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,426評論 3 395
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來咳短,“玉大人蛛淋,你說我怎么就攤上這事褐荷。” “怎么了诚卸?”我有些...
    開封第一講書人閱讀 165,417評論 0 356
  • 文/不壞的土叔 我叫張陵合溺,是天一觀的道長。 經(jīng)常有香客問我哮奇,道長睛约,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 58,868評論 1 295
  • 正文 為了忘掉前任贸伐,我火速辦了婚禮捉邢,結(jié)果婚禮上商膊,老公的妹妹穿的比我還像新娘。我一直安慰自己晕拆,他們只是感情好,可當(dāng)我...
    茶點故事閱讀 67,892評論 6 392
  • 文/花漫 我一把揭開白布堤器。 她就那樣靜靜地躺著赤惊,像睡著了一般。 火紅的嫁衣襯著肌膚如雪圈暗。 梳的紋絲不亂的頭發(fā)上裕膀,一...
    開封第一講書人閱讀 51,692評論 1 305
  • 那天昼扛,我揣著相機與錄音,去河邊找鬼抄谐。 笑死蛹含,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的浦箱。 我是一名探鬼主播酷窥,決...
    沈念sama閱讀 40,416評論 3 419
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼妆棒!你這毒婦竟也來了拳氢?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,326評論 0 276
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎留特,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體苟蹈,經(jīng)...
    沈念sama閱讀 45,782評論 1 316
  • 正文 獨居荒郊野嶺守林人離奇死亡右核,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,957評論 3 337
  • 正文 我和宋清朗相戀三年贺喝,在試婚紗的時候發(fā)現(xiàn)自己被綠了。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片氮采。...
    茶點故事閱讀 40,102評論 1 350
  • 序言:一個原本活蹦亂跳的男人離奇死亡鹊漠,死狀恐怖茶行,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情娶靡,我是刑警寧澤茉唉,帶...
    沈念sama閱讀 35,790評論 5 346
  • 正文 年R本政府宣布,位于F島的核電站艾凯,受9級特大地震影響懂傀,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜恃泪,卻給世界環(huán)境...
    茶點故事閱讀 41,442評論 3 331
  • 文/蒙蒙 一犀斋、第九天 我趴在偏房一處隱蔽的房頂上張望叽粹。 院中可真熱鬧却舀,春花似錦锤灿、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,996評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至穗椅,卻和暖如春奶栖,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背袍镀。 一陣腳步聲響...
    開封第一講書人閱讀 33,113評論 1 272
  • 我被黑心中介騙來泰國打工冻晤, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留鼻弧,地道東北人。 一個月前我還...
    沈念sama閱讀 48,332評論 3 373
  • 正文 我出身青樓叉存,卻偏偏與公主長得像度帮,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子瞳秽,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 45,044評論 2 355