百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

garland-view-android

> 设计协作
开源

:octocat: ≡ GarlandView 可无缝切换多个内容列表。由 @Ramotion 创建

1.8K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

:octocat: ≡ GarlandView 可无缝切换多个内容列表。由 @Ramotion 创建

GARLAND VIEW [JAVA]

Garland View 可无缝切换多个内容列表

___

我们专注于为移动应用和网站设计和编写定制的用户界面。

请持续关注最新更新:


# 在其他平台上检查此库: ## 要求 - Android 4.4 KitKat (API 级别 19) 或更高版本 - 你最喜欢的 IDE ## 安装 只需从 [这里](http://central.maven.org/maven2/com/ramotion/garlandview/garland-view/0.3.3/garland-view-0.3.3.aar) 下载包,将其添加到项目的类路径中,或者直接使用 maven repo: Gradle: ```groovy compile 'com.ramotion.garlandview:garland-view:0.3.3' ``` SBT: ```scala libraryDependencies += "com.ramotion.garlandview" % "garland-view" % "0.3.3" ``` Maven: ```xml com.ramotion.garlandview garland-view 0.3.3 ``` ## 基本用法

GarlandView由垂直滚动的内部项目和水平滚动的外部项目组成,每个项目都包含一个内部项目。首先,您需要实现创建内部项目所需的类:InnerItem 和 InnerAdapter。InnerAdapter是继承自 RecyclerView.Adapter 的抽象类,它只与 InnerItem - ViewHolder 相关。在InnerItem中,您需要重写getInnerLayout方法,该方法必须返回内部项目的主布局。接下来,您需要重写外部项目所需的类:HeaderItem和HeaderAdapter。

HeaderAdapter 是一个抽象类,继承自 RecyclerView.Adapter,它只与 HeaderItem - ViewHolder 一起使用。

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javaandroidanimationcomponentjava

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类设计协作
定价开源

> 相关工具

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨