# RecyclerViewDecoration **Repository Path**: icoo/RecyclerViewDecoration ## Basic Information - **Project Name**: RecyclerViewDecoration - **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**: 2021-02-19 - **Last Updated**: 2021-02-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # RecyclerViewDecoration 一个通用的RecyclerView分割线,支持.9图片. 你可以直接导入这个库,因为它已经在JCenter. 更多扩展用法将会在[ExpandRecyclerView](https://github.com/arjinmc/ExpandRecyclerView)这个库中体现,此库也会合并到ExpandRecyclerView库中。 如果你不想使用ExpandRecyclerView库的内容,别担心,依然可以继续用这个库。 [更新日志](NEWS_CN.md) 文档在这里 [Wiki](https://github.com/arjinmc/RecyclerViewDecoration/wiki) ## 引用 #### gradle ```code compile 'com.arjinmc.android:recyclerviewdecoration:4.1.1' ``` #### maven ```code com.arjinmc.android recyclerviewdecoration 4.1.1 pom ``` ## 功能 全部都用Builder模式创建。 * RecyclerViewLinearItemDecoration 线性分割线 * RecyclerViewLinearSpaceItemDecoration 线性空白分割线 * RecyclerViewGridItemDecoration 网格分割线 * RecyclerViewGridSpaceItemDecoration 网格空白分割线 * RecyclerViewStickyHeadItemDecoration 黏体header分割线,参考自 [https://github.com/chenpengfei88/StickyItemDecoration](https://github.com/chenpengfei88/StickyItemDecoration) ## 效果图 ![image](https://github.com/arjinmc/RecyclerViewDecoration/blob/master/images/device-2015-12-02-111504.png) ![image](https://github.com/arjinmc/RecyclerViewDecoration/blob/master/images/device-2015-11-30-155050.png) ![image](https://github.com/arjinmc/RecyclerViewDecoration/blob/master/images/device-2015-11-30-154937.png) ![image](https://github.com/arjinmc/RecyclerViewDecoration/blob/master/images/device-2015-11-30-155157.png)