Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
G

GangedRecyclerview

> 编程语言
Open source

Recyclerview实现双列表联动,列表悬停

662 stars0 likes1 views
WebsiteGitHub

About

Recyclerview实现双列表联动,列表悬停

GangedRecyclerview

演示效果

  1. 左侧联动右侧: 点击左侧列表的某一项,背景变色,同时右侧列表中对应的分类滚动到顶部
  2. 右侧列表悬停: 右侧列表滑动的时候相应的标题栏需要在顶部悬停
  3. 标题栏可点击
  4. 右侧联动左侧: 滚动右侧列表,监听滚动的位置,左侧列表需要同步选中相应的列表

接入文档

Step 1. Add the JitPack repository to your build file

groovy
allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Step 2. Add the dependency

groovy
implementation 'com.github.wustor:GangedRecyclerview:1.0.0'

Step 3. 启动GangedRvActivity

kotlin
val intent = Intent(this, GangedRvActivity::class.java)
//获取SortBean数据,具体可参见Demo
val data = DataUtil.getData(this, path)
val bundle = Bundle()
bundle.putSerializable(IIntent.DATA_TAG, data)
intent.putExtras(bundle)
startActivity(intent)

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Java

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言