Comments (6)
已处理好,更新最新的包就好了~
implementation 'com.github.youlookwhat:ByRecyclerView:1.0.18' // AndroidX版本引入
from byrecyclerview.
这个确实没处理,我抽时间处理一下~
from byrecyclerview.
from byrecyclerview.
默认是不显示最后一行的分割线,因为一般会使用到加载更多。
如果你没使用加载更多,请将最后一行的的分割线去掉:
/**
* 设置从哪个位置 结束设置间距
*
* @param startFromSize 一般为HeaderView的个数 + 刷新布局(不一定设置)
* @param endFromSize 默认为1,一般为FooterView的个数 + 加载更多布局(不一定设置)
*/
public GridSpaceItemDecoration setNoShowSpace(int startFromSize, int endFromSize)
// endFromSize: 这个参数设置为 0
from byrecyclerview.
默认是不显示最后一行的分割线,因为一般会使用到加载更多。
如果你没使用加载更多,请将最后一行的的分割线去掉:/** * 设置从哪个位置 结束设置间距 * * @param startFromSize 一般为HeaderView的个数 + 刷新布局(不一定设置) * @param endFromSize 默认为1,一般为FooterView的个数 + 加载更多布局(不一定设置) */ public GridSpaceItemDecoration setNoShowSpace(int startFromSize, int endFromSize) // endFromSize: 这个参数设置为 0
多谢,看了下代码已经解决了😂
from byrecyclerview.
解决了就好😘
from byrecyclerview.
Related Issues (20)
- 计划新增 ViewBinding使用示例 HOT 1
- 计划 同步代码到gitee
- 怎样在xml绑定数据 HOT 1
- 添加headerview后,主体内容却不显示了 HOT 2
- 发现一个bug HOT 8
- setStackFromEnd = true 下拉刷新有点不正常 HOT 14
- 可以增加一个treeview的的适配器吗 HOT 4
- can show the second floor demo? HOT 1
- 希望增加一个功能 HOT 4
- 大佬,何时增加多级列表 HOT 2
- 列表在吸顶状态,然后detach再重新attach时,出现2个吸顶布局 HOT 11
- Demo中可以增加字母索引的案例吗 HOT 2
- 报废或附加的视图可能无法回收
- 大牛真厉害 HOT 1
- 给大牛ByRecyclerView提建议 HOT 8
- 嵌套和多级列表问题
- 多类型不能使用databing吗? HOT 1
- 你好 自定义下啦刷新 应该怎么平行移动,HeaderView高度不会改变 HOT 1
- NestedScrollView内嵌套ByRecyclerView时,会导致下拉刷新和拖动ByRecyclerView向上的动作冲突 HOT 2
- 上拉加载闪退 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from byrecyclerview.