# FlowHelper **Repository Path**: samwen2019/FlowHelper ## Basic Information - **Project Name**: FlowHelper - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-05-18 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FlowHelper FlowHelper 可以帮助您迅速构建Tab,比如热搜、搜索记录、与ViewPager搭配的工具类; **具体原理可参考着四篇文章:** **如果你也想自己写一个,可以参考以下几篇文章** [实现一个可定制化的TabFlowLayout(一) -- 测量与布局](https://blog.csdn.net/u011418943/article/details/103804677) [实现一个可定制化的TabFlowLayout(二) -- 实现滚动和平滑过渡](https://blog.csdn.net/u011418943/article/details/103807920) [实现一个可定制化的TabFlowLayout(三) -- 动态数据添加与常用接口封装](https://blog.csdn.net/u011418943/article/details/103817967) [实现一个可定制化的TabFlowLayout(四) -- 与ViewPager 结合,实现炫酷效果](https://blog.csdn.net/u011418943/article/details/103851359) [实现一个可定制化的TabFlowLayout -- 原理篇](https://juejin.im/post/5e365f52f265da3e3d511d65) [实现一个可定制化的TabFlowLayout -- 说明文档](https://juejin.im/post/5e2f9dc7e51d4558836e3f99) [FlowLayout 和 Recyclerview 实现双联表联动](https://blog.csdn.net/u011418943/article/details/104083568) 如果您也想快速实现 **Banner 轮播图**,可以使用这个库 https://github.com/LillteZheng/ViewPagerHelper **工程实际使用 - 玩Android 客户端 : https://github.com/LillteZheng/WanAndroid** [![](https://jitpack.io/v/LillteZheng/FlowHelper.svg)](https://jitpack.io/#LillteZheng/FlowHelper) ![](https://img.shields.io/github/stars/LillteZheng/FlowHelper.svg) ![](https://img.shields.io/github/forks/LillteZheng/FlowHelper.svg) [![](https://img.shields.io/badge/%E4%BD%9C%E8%80%85-%E9%83%91%E5%B0%91%E9%94%90-green.svg)](https://blog.csdn.net/u011418943) ## 使用 ``` allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` ``` implementation 'com.github.LillteZheng:FlowHelper:v1.22' ``` **如果要支持 AndroidX ,如果你的工程已经有以下代码,直接关联即可:** ``` android.useAndroidX=true #自动支持 AndroidX 第三方库 android.enableJetifier=true ``` ## TabFlowLayout 效果图
没有结合ViewPager 结合ViewPager
竖直效果
**目前TabFlowLayout 支持以下效果:** - **矩形** - **三角形** - **圆角** - **shape 或者 bitmap 等资源** - **自定义功能** - **放大Item效果,与上述效果可共用** - **颜色渐变效果,需要使用 TabColorTextView 控件,与上述效果可共用,只支持有viewpager 的情况** - **竖直效果,需要设置 tab_orientation = vertical** - **宽度均分** [TabFlowLayout 使用说明](https://github.com/LillteZheng/FlowHelper/blob/master/TAB_README.md) ## LabelFlowLayout 效果图
LabelFlowLayout LabelFlowLayout 显示更多
**LabelFlowLayout 支持以下效果:** - **单选** - **多选** - **长按** - **显示更多** - **收起** [LabelFlowLayout 使用说明](https://github.com/LillteZheng/FlowHelper/blob/master/Label_README.md) **其实TabFlowLayout也可以支持底部导航栏,但其实没必要,可以参考这个库 https://github.com/LillteZheng/CusBottomHelper**
底部凸起 结合ViewPager
## 如果该项目对您有帮助,赞赏一下吧 ^_^ ## 参考 本工程参考以下优秀项目: [鸿洋的 flowLayout](https://github.com/hongyangAndroid/FlowLayout) [Flyco 大佬的TabLayout](https://github.com/H07000223/FlycoTabLayout)