码迷,mamicode.com
首页 > 移动开发 > 详细

关于Android RecyclerView的那些开源LayoutManager

时间:2017-03-29 15:48:26      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:tag   ref   get   自定义   lock   targe   flex   交互   选择   

原文地址:http://blog.coderclock.com/2017/03/26/android/%E5%85%B3%E4%BA%8EAndroid%20RecyclerView%E7%9A%84%E9%82%A3%E4%BA%9B%E5%BC%80%E6%BA%90LayoutManager/

Google默认为RecyclerView提供了LinearLayoutManager、StaggeredGridLayoutManager、GridLayoutManager,已经可以满足很多开发需求了,但是实际开发过程中,免不了出现一些更加新颖的交互设计。于是,便从Github上整理了一波关于RecyclerView可以使用的LayoutManager,在实际开发中需要用到时,遇到相似的效果时即可随手拈来,提高效率。

FanLayoutManager

Github源码地址:https://github.com/Cleveroad/FanLayoutManager

来自国外一家名为Cleveroad的科技公司的开源作品,因其效果就像风扇扇叶旋转一样,所以名中带Fan。效果不错,API上也有很多的配置参数,用起来还是挺灵活的。

技术分享

CarouselLayoutManager

Github源码地址:https://github.com/Azoft/CarouselLayoutManager

让你的RecyclerView秀出传送带效果,支持横向和纵向两种选择。

技术分享

ChipsLayoutManager

Github源码地址:https://github.com/BelooS/ChipsLayoutManager

一种流式布局的效果,很像我们平时看到的标签云。该库同样提供了很多可配置效果的API,并且支持多种多花效果。

技术分享

HiveLayoutManager

Github源码地址:https://github.com/Chacojack/HiveLayoutManager

国人写的一个蜂巢布局管理器,除了外观帅气外,其增删查改的动画效果也是很赞的。

技术分享

vlayout

Github源码地址:https://github.com/alibaba/vlayout

vlayout 是手机天猫 Android 版内广泛使用的一个基础 UI 框架项目,提供了一个用于 RecyclerView 的自定义的 LayoutManger,可以实现不同布局格式的混排,目标是支撑客户端 native 页面的快速开发,它也是 Tangram 框架的基础模块。

技术分享

flexbox-layout

Github源码地址:https://github.com/google/flexbox-layout

flexbox-layout是Google开源的布局,其效果是实现类似CSS中的Flexbox布局效果( 具体可看:https://www.w3cplus.com/css3/a-guide-to-flexbox-new.html ),原本并不支持RecyclerView,但其最新的Alpha版本已经开始推出FlexboxLayoutManager用于支持RecyclerView实现效果。

技术分享

技术分享

LondonEyeLayoutManager

Github源码地址:https://github.com/danylovolokh/LondonEyeLayoutManager

一个环形菜单的布局管理器,以前在建行的Android客户端就见过此效果,不过那时候是用ViewGroup实现的。

技术分享

 

 

关于Android RecyclerView的那些开源LayoutManager

标签:tag   ref   get   自定义   lock   targe   flex   交互   选择   

原文地址:http://www.cnblogs.com/anni-qianqian/p/6639868.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!