【转载】关于Android RecyclerView的那些开源LayoutManager
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中如何使用对话框(单选对话框和多选对话框)
- 导入旧版本Android项目时的“Unable to resolve target ‘android
- 《android开发艺术探索》读书笔记(十五)--Android性能优化
- Android[第三方or官方]高质量实用【组件&开源项目&框架】集合贴
- android 图片加载优化,避免oom问题产生
- 在Android中开源类库使用过程中兼容性等问题的讨论
- Android应用开发提高系列(1)——《Practical Java 中文版》读书笔记(上)
- Android studio中 android-support-v4报错问题
- Android开发学习笔记(十七)单选按钮RadioButton
- 有哪些优秀的Android开源项目最值得阅读?这里Android中近百个优秀开源库,包你提高效率
- 2022最新版《Android高级开发面试题大全》开源分享
- Android通过屏幕方向和摄像头方向实现屏幕预览
- Android 深入剖析 显示系统graphic
- Android【报错】This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView)
- Android 实现圆角头像(使用第三方开源库)
- Android 12.0 屏蔽FallbackHome机制去掉android正在启动直接进入默认Launcher功能实现
- Android android studio 项目放在源码中编译
- android 报错 net::ERR_CLEARTEXT_NOT_PERMITTED
- 【错误记录】Android Studio 编译时 lint 检查报错 ( WARNING: DSL element ‘android.dataBinding.enabled‘ is obsolet )
- 可删除超炫&多种特效的Card视图(改造自cardsui-for-android开源项目),提供DEMO下载
- android service 的各种用法(IPC、AIDL)
- android开源项目学习
- cocos编译Android版本号问题总结
- Android Framework 保姆级开发学习路线,全套资料包开源分享
- Android 系统休眠唤醒 android-suspend
- Android studio基础练习06【PoolWater】
- Android 反编译 -smali文件对比java文件
- 迁移到Android后android.support.v4.content.FileProvider运行崩溃