Skip to content

1.3.2

Choose a tag to compare

@hekbobo hekbobo released this 02 Apr 06:27
· 1 commit to master since this release
feat(core): 添加区域分割装饰器功能

- 实现了 RegionDividerDecoration 类用于绘制列表项分隔线
- 支持水平内边距设置,可自定义起始和结束位置的缩进
- 提供颜色设置功能,支持动态修改分隔线颜色
- 实现了 getItemOffsets 方法设置底部偏移量
- 实现了 onDraw 方法在画布上绘制矩形分隔线
- 继承 RecyclerView.ItemDecoration 确保与 RecyclerView 兼容