(轉(zhuǎn)載)原文鏈接地址
Google默認為RecyclerView提供了LinearLayoutManager、StaggeredGridLayoutManager、GridLayoutManager,已經(jīng)可以滿足很多開發(fā)需求了,但是實際開發(fā)過程中,免不了出現(xiàn)一些更加新穎的交互設計。于是,便從Github上整理了一波關于RecyclerView可以使用的LayoutManager,在實際開發(fā)中需要用到時,遇到相似的效果時即可隨手拈來,提高效率。
FanLayoutManager
https://github.com/Cleveroad/FanLayoutManager

來自國外一家名為Cleveroad的科技公司的開源作品,因其效果就像風扇扇葉旋轉(zhuǎn)一樣,所以名中帶Fan。效果不錯,API上也有很多的配置參數(shù),用起來還是挺靈活的。
CarouselLayoutManager
https://github.com/Azoft/CarouselLayoutManager

讓你的RecyclerView秀出傳送帶效果,支持橫向和縱向兩種選擇。
ChipsLayoutManager
https://github.com/BelooS/ChipsLayoutManager

一種流式布局的效果,很像我們平時看到的標簽云。該庫同樣提供了很多可配置效果的API,并且支持多種多花效果。
HiveLayoutManager
https://github.com/Chacojack/HiveLayoutManager

國人寫的一個蜂巢布局管理器,除了外觀帥氣外,其增刪查改的動畫效果也是很贊的。
vlayout
https://github.com/alibaba/vlayout

vlayout 是手機天貓 Android 版內(nèi)廣泛使用的一個基礎 UI 框架項目,提供了一個用于 RecyclerView 的自定義的 LayoutManger,可以實現(xiàn)不同布局格式的混排,目標是支撐客戶端 native 頁面的快速開發(fā),它也是 Tangram 框架的基礎模塊。
FlexboxLayoutManager
https://github.com/google/flexbox-layout


flexbox-layout是Google開源的布局,其效果是實現(xiàn)類似CSS中的Flexbox布局效果( 具體可看:https://www.w3cplus.com/css3/a-guide-to-flexbox-new.html ),原本并不支持RecyclerView,但其最新的Alpha版本已經(jīng)開始推出FlexboxLayoutManager用于支持RecyclerView實現(xiàn)效果。
LondonEyeLayoutManager
https://github.com/danylovolokh/LondonEyeLayoutManager

一個環(huán)形菜單的布局管理器,以前在建行的Android客戶端就見過此效果,不過那時候是用ViewGroup實現(xiàn)的。