内容已更新到:https://www.cnblogs.com/baiqiantao/p/19762fb101659e8f4c1cea53e7acb446.html
目录一个通用分割线ItemDecoration 分割线测试代码普通 Adapteritem 布局RecyclerView.ItemDecoration 简介API官方案例 DividerItemDecorationgetItemOffsets 方法解析onDraw 方法解析总结