# SuspensionIndexBar **Repository Path**: cjf_90/SuspensionIndexBar ## Basic Information - **Project Name**: SuspensionIndexBar - **Description**: 仿微信通讯录 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-02 - **Last Updated**: 2024-03-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SuspensionIndexBar # 引入 Step 1. Add the JitPack repository to your build file Add it in your root build.gradle at the end of repositories: ``` allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` Step 2. Add the dependency ``` dependencies { api("com.gitee.cjf_90:SuspensionIndexBar:0.0.2") } ``` # to do list 扩展 SuspensionDecoration 支持传入layout or View。 支持AndroidX 本文就利用ItemDecoration 打造 分组列表,并配有悬停头部功能。 亮点预览:**添加多个ItemDecoration、它们的执行顺序、ItemDecoration方法执行顺序、ItemDecoration和RecyclerView的绘制顺序** 本文摘要: 1. 用ItemDecoration实现悬停头部**切换动画** 2. 另一种**简单使用onDraw()和onDrawOver()**的姿势 3. 自定义View实现右侧**索引导航栏**IndexBar 4. 使用TinyPinyin对数据源排序 5. 联动IndexBar和RecyclerView。 6. 封装重复步骤,方便二次使用,并可**定制导航数据源**。