文件名称:Android代码-CommonItemDecoration
文件大小:1.07MB
文件格式:ZIP
更新时间:2022-08-26 18:34:30
Android代码
A custom ItemDecoration which appends dividers(with same thickness) between items(with same dimension) for RecyclerView 中文版 When using RecyclerView, we often need set dividers between items. Usually, we set right_margin to the root layout of each item. In this way, you hava to set a left_margin to the RecyclerView to make the list looks symmetric. There's another way to do this. We can customize ItemDecoration and override the getItemOffsets method. Also, set right to the parameter outRect to ea
【文件预览】:
CommonItemDecoration-master
----.gitignore(490B)
----gradle()
--------wrapper()
----README.md(1KB)
----build.gradle(498B)
----library()
--------.gitignore(7B)
--------build.gradle(879B)
--------proguard-rules.pro(924B)
--------src()
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(730B)
----README_zh.md(5KB)
----demo.gif(972KB)
----LICENSE.txt(10KB)
----sample()
--------.gitignore(7B)
--------gradle()
--------build.gradle(999B)
--------proguard-rules.pro(924B)
--------gradlew.bat(2KB)
--------gradlew(5KB)
--------src()
----settings.gradle(80B)