android GridView
-
StaggeredGridView
允许非对齐行的 GridView,类似 Pinterest 的瀑布流,并且跟 ListView 一样自带 View 缓存,继承自 ViewGroup
项目地址:https://github.com/maurycyw/StaggeredGridView
Demo 地址:https://github.com/Trinea/TrineaDownload/blob/master/staggered-gridview-demo.apk?raw=true
APP 示例:Pinterest 等 -
AndroidStaggeredGrid
允许非对齐行的 GridView,类似 Pinterest 的瀑布流,继承自 AbsListView
项目地址:https://github.com/etsy/AndroidStaggeredGrid
APP 示例:Pinterest 等 -
PinterestLikeAdapterView
允许非对齐行的 GridView,类似 Pinterest 的瀑布流,允许下拉刷新
项目地址:https://github.com/GDG-Korea/PinterestLikeAdapterView
APP 示例:Pinterest 等 -
DraggableGridView
Item 可拖动交换位置的 GridView,实际是自己继承 ViewGroup 实现,类似桌面的单屏效果,可屏幕自动上下滚动进行 Item 移动交换,多屏效果见下面 PagedDragDropGrid
项目地址:https://github.com/thquinn/DraggableGridView
Demo 地址:https://github.com/thquinn/DraggableGridView/blob/master/bin/DraggableGridViewSample.apk?raw=true
也可自定义item的宽高和每行的个数,同时修改了交换逻辑,当移动到另一个item时就进行交换,并删除滚动逻辑。
项目地址:DraggableGridView
效果图: -
DividedDraggableView 一个带有分割区域的可拖动 view ,可屏幕自动上下滚动进行 Item 移动交换。 项目地址:https://github.com/andyken/DividedDraggableView 效果图:
-
StickyGridHeaders
GroupName 滑动到顶端时会固定不动直到另外一个 GroupName 到达顶端的 GridView
项目地址:https://github.com/TonicArtos/StickyGridHeaders
效果图: -
PagedDragDropGrid
Item 可拖动交换位置、拖动删除的自定义控件,实际是自己继承 ViewGroup 实现,类似桌面的多屏效果,可拖动到屏幕边缘,屏幕自动左右滚动进行 Item 移动交换,可拖动进行删除,单屏效果见上面 DraggableGridView
项目地址:https://github.com/mrKlar/PagedDragDropGrid
在线演示:http://youtu.be/FYTSRfthSuQ -
Android-DraggableGridViewPager
Item 可拖动交换位置的 GridView,实际是自己继承 ViewGroup 实现,类似桌面的多屏效果,可屏幕自动左右滚动进行 Item 移动交换,单屏效果见上面 DraggableGridView
项目地址:https://github.com/zzhouj/Android-DraggableGridViewPager
Demo 地址:https://github.com/Trinea/trinea-download/blob/master/draggable-grid-viewpager-demo.apk?raw=true -
TwoWayGridView
可横向滚动的 GridView
项目地址:https://github.com/jess-anders/two-way-gridview -
PagingGridView
分页加载的 GridView。当滑动到 GridView 底部最后一个行时,显示一个进度行,然后加载下一页数据,并显示。
项目地址:https://github.com/nicolasjafelle/PagingGridView -
AsymmetricGridView
一个支持跨行和跨列可变 Item 大小的 GridView
项目地址:https://github.com/felipecsl/AsymmetricGridView
Demo 地址:https://play.google.com/store/apps/details?id=com.felipecsl.asymmetricgridview.app
效果图: -
GridView with Header and Footer
和ListView
一样带头部和底部的GridView
,用法和ListView
一样
项目地址:https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下
· 别再用vector<bool>了!Google高级工程师:这可能是STL最大的设计失误
· 单元测试从入门到精通