Android RecyclerView的开源LayoutManager

本文介绍了一系列独特的RecyclerView布局管理器,如FanLayoutManager、CarouselLayoutManager、ChipsLayoutManager等,提供了丰富的视觉效果和高度定制化的API,适用于不同的应用场景。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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实现的。

\

原文:https://www.2cto.com/kf/201712/708768.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值