2017年伊始,你需要嘗試的25個Android第三方庫

來源:互聯網
上載者:User

標籤:log   length   style   com   script   優酷   ntb   dao   ret   

轉載請註明出處:http://blog.csdn.net/crazy1235/article/details/55805071

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

Lottie
這是一個動畫庫。通過Adobe After Effects做齣動畫效果,然後通過Bodymovin(AE的外掛程式)匯出JSON資料,然後通過該庫產生原生動畫效果。在Google Play Store上可以下載demo。該項目在Github上已經由超過8000個star。猴賽雷~~ ***Airbnb***公司出品。

如下:

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

Toasty
這是一個自訂Toast的庫。

:

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

StyleableToast
這也是一個Toast增強庫。

效果如下:

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

Store
Store是一個非同步資料載入和快取資料的庫。

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

PreviewSeekBar
其實大家用PC優酷看視頻的時候,滑鼠放到進度條撒花姑娘就可以預覽到所指向的幀畫面。一個叫[Ruben Sousa](https://medium.com/@rubensousa)的哥們做出了一個庫並開源。

效果如下L:

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

Chuck
如果你使用OkHttp作為網路請求庫,那麼這個Chuck庫可以協助你攔截留存所有的HTTP請求和相應資訊。同時也提供UI來顯示攔截的資訊

效果如下:

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

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

效果如下:

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

boxing
boxing是一個多媒體選取器庫。可以選擇一張或者多張圖片,提供預覽和裁剪功能。同樣支援gif圖,選擇視頻和映像壓縮功能。

(B站出品哦!!)

效果如下:

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

excelPanel
提供一個二維的RecyclerView控制項。

效果如下:

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

HorizontalCalendar
該庫是一個水平展示日曆的控制項,也是通過RecycerView來實現的。

效果如下:

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

CameraFragment
CameraFragment可以協助你快速實現開啟相機視圖,並提供便捷的API來捕獲圖片。

效果如下:

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

AwesomeBar
該控制項時Topbar的一個擴充,類似於Actionbar或者Toolbar。可結合DrawerLayout使用。

效果如下:

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

ArcNavigationView
這是一個有彎曲邊緣效果的NavigationView控制項。

效果如下:

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

ShimmerRecyclerView
這個一個自訂的RecyclerView,在載入item的時候可以“bulingbuling”的閃動。可以通過內建的adapter控制效果。

效果如下:

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

Android-SwitchIcon
這是個自訂的switch控制項。擴充自AppCompatImageView,允許使用vector和image。

效果如下:

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

CounterFab
該庫針對FloatingActionButton的擴充,可以顯示角標。

效果如下:

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

FadingTextView
該控制項可以讓TextView每隔一定時間通過淡入淡齣動畫效果切換文本

效果如下:

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

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

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

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

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

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

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

FlowLayout
流式標籤布局

效果如下:

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

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

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

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

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

Shortbread
Android 7.0允許使用者長按案頭表徵圖彈出捷徑功能表。該庫可以協助開發人員快速開發app shortcuts。

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

Material About
該庫可以協助你快速開發一個Material風格的關於介面。

效果如下:

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

總結完畢~~~

2017年伊始,你需要嘗試的25個Android第三方庫

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.