Android 第三方庫2017年你應該嘗試的25個Android庫

轉載自:http://blog.csdn.net/bryant_liu24/article/details/57395096

簡評:這篇文章介紹的是在 2017 年一月和二月發佈的 25 個優秀 Android 開源庫(作者的排名不分先後),既有來自大公司的,也有由獨立開發者開發的,質量都相當的優秀。即使工作中用不上,對於 Android 學習也是相當有幫助的,最早是在知乎上面看到的,實在找不到原地址不過確實是乾貨我拿過來了。


medium 平臺有位作者總結了2017年初最棒最受歡迎的25個第三方庫,相信大家都應該嘗試一下。

這裏寫圖片描述


Lottie

這是一個動畫庫。通過Adobe After Effects做出動畫效果,然後通過Bodymovin(AE的插件)導出JSON數據,然後通過該庫生成原生動畫效果。

在Google Play Store上可以下載demo。

該項目在Github上已經由超過8000個star。

猴賽雷~~ ***Airbnb***公司出品。
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

效果圖如下:

這裏寫圖片描述

Github地址:https://github.com/airbnb/lottie-android


Toasty

這是一個自定義Toast的庫。
  • 1
  • 2

效果圖:

這裏寫圖片描述

Github地址:https://github.com/GrenderG/Toasty


StyleableToast

這也是一個Toast增強庫。
  • 1
  • 2

效果如下:

圖片名稱

圖片名稱

Github地址:https://github.com/Muddz/StyleableToast


Store

Store是一個異步數據加載和緩存數據的庫。
  • 1
  • 2

Github地址:https://github.com/NYTimes/Store


PreviewSeekBar

其實大家用PC優酷看視頻的時候,鼠標放到進度條撒花姑娘就可以預覽到所指向的幀畫面。

一個叫[Ruben Sousa](https://medium.com/@rubensousa)的哥們做出了一個庫並開源。
  • 1
  • 2
  • 3
  • 4

效果如下L:

這裏寫圖片描述

Github地址:https://github.com/rubensousa/PreviewSeekBar


Chuck

如果你使用OkHttp作爲網絡請求庫,那麼這個Chuck庫可以幫助你攔截留存所有的HTTP請求和相應信息。同時也提供UI來顯示攔截的信息
  • 1
  • 2

效果如下:

這裏寫圖片描述

Github地址:https://github.com/jgilfelt/chuck


CoordinatorTabLayout

該庫可以幫你快速實現TabLayout和CoordinatorLayout的組合效果。
  • 1
  • 2

效果如下:

這裏寫圖片描述

Github地址:https://github.com/hugeterry/CoordinatorTabLayout


boxing

boxing是一個多媒體選擇器庫。

可以選擇一張或者多張圖片,提供預覽和裁剪功能。

同樣支持gif圖,選擇視頻和圖像壓縮功能。
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

(B站出品哦!!

效果如下:

圖片名稱

Github地址:https://github.com/Bilibili/boxing


excelPanel

提供一個二維的RecyclerView控件。
  • 1
  • 2

效果如下:

圖片名稱

Github地址:https://github.com/zhouchaoyuan/excelPanel


HorizontalCalendar

該庫是一個水平展示日曆的控件,也是通過RecycerView來實現的。
  • 1
  • 2

效果如下:

圖片名稱

Github地址:https://github.com/Mulham-Raee/HorizontalCalendar


CameraFragment

CameraFragment可以幫助你快速實現打開相機視圖,並提供便捷的API來捕獲圖片。
  • 1
  • 2

效果如下:

這裏寫圖片描述

Github地址:https://github.com/florent37/CameraFragment


AwesomeBar

該控件時Topbar的一個擴展,類似於Actionbar或者Toolbar。可結合DrawerLayout使用。
  • 1
  • 2

效果如下:

這裏寫圖片描述

Github地址:https://github.com/florent37/AwesomeBar


ArcNavigationView

這是一個有彎曲邊緣效果的NavigationView控件。
  • 1
  • 2

效果如下:

圖片名稱

Github地址:https://github.com/rom4ek/ArcNavigationView


ShimmerRecyclerView

這個一個自定義的RecyclerView,在加載item的時候可以“bulingbuling”的閃動。可以通過內置的adapter控制效果。
  • 1
  • 2

效果如下:

圖片名稱

Github地址:https://github.com/sharish/ShimmerRecyclerView


Android-SwitchIcon

這是個自定義的switch控件。擴展自AppCompatImageView,允許使用vector和image。
  • 1
  • 2

效果如下:

這裏寫圖片描述

Github地址:https://github.com/zagum/Android-SwitchIcon


CounterFab

該庫針對FloatingActionButton的擴展,可以顯示角標。
  • 1
  • 2

效果如下:

這裏寫圖片描述

Github地址:https://github.com/andremion/CounterFab


FadingTextView

該控件可以讓TextView每隔一定時間通過淡入淡出動畫效果切換文本
  • 1
  • 2

效果如下:

圖片名稱

Github地址:https://github.com/rosenpin/FadingTextView


Bridge

Bridge是一個簡單功能強大的HTTP網路請求庫。提供流暢的鏈式調用API,通過URLConnection方式訪問網絡。
  • 1
  • 2

Github地址:https://github.com/afollestad/bridge


Ason

該庫使用來JSON解析的,簡化對JSON的操作。
  • 1
  • 2

Github地址:https://github.com/afollestad/ason


ObjectBox

相信不少人都用過GreenDao和EventBus,這兩庫都是greenrobot公司出品。ObjectBox也是該公司出品。
GreenDao號稱是最快的與SQLite的對象關係映射(ORM)。但是自從2011年以來,公司聲稱發現了許多的缺陷,有很多問題影響了性能。所以開發出另外一套性能最好且易用的NoSQL數據庫,優於其他數據庫5-15倍的性能。
  • 1
  • 2
  • 3

圖片名稱

Github地址:https://github.com/greenrobot/ObjectBox


FlowLayout

流式標籤佈局
  • 1
  • 2

效果如下:

圖片名稱

Github地址:https://github.com/nex3z/FlowLayout


Unofficial Google Actions Java SDK

官方的Actions SDK是通過Node.js來寫的。這是一個非官方的Java版本。
  • 1
  • 2

Github地址:https://github.com/frogermcs/Google-Actions-Java-SDK


Wearable Reply

2017.2.9,Google官方發佈了Android Wear2.0系統。有個哥們Luke Klinker 發現了一個遺漏的API,加上之後重新發布了。
  • 1
  • 2

圖片名稱

Github地址:https://github.com/klinker24/wearable-reply


Shortbread

Android 7.0允許用戶長按桌面圖標彈出快捷菜單。該庫可以幫助開發者快速開發app shortcuts。
  • 1
  • 2

這裏寫圖片描述

Github地址:https://github.com/MatthiasRobbers/shortbread


Material About

該庫可以幫助你快速開發一個Material風格的關於界面。
  • 1
  • 2

效果如下:

圖片名稱

Github地址:https://github.com/jrvansuita/MaterialAbout


試用了幾個很炫。

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