Git Product home page Git Product logo

Comments (6)

youlookwhat avatar youlookwhat commented on May 30, 2024 1

已处理好,更新最新的包就好了~
implementation 'com.github.youlookwhat:ByRecyclerView:1.0.18' // AndroidX版本引入

from byrecyclerview.

youlookwhat avatar youlookwhat commented on May 30, 2024

这个确实没处理,我抽时间处理一下~

from byrecyclerview.

imtianx avatar imtianx commented on May 30, 2024

有没有遇到最后一行的最后一个显示的有问题
9B194BAE-2B49-4EAD-9C1C-732AE8827393

from byrecyclerview.

youlookwhat avatar youlookwhat commented on May 30, 2024

默认是不显示最后一行的分割线,因为一般会使用到加载更多。
如果你没使用加载更多,请将最后一行的的分割线去掉:

/**
 * 设置从哪个位置 结束设置间距
 *
 * @param startFromSize 一般为HeaderView的个数 + 刷新布局(不一定设置)
 * @param endFromSize   默认为1,一般为FooterView的个数 + 加载更多布局(不一定设置)
 */
public GridSpaceItemDecoration setNoShowSpace(int startFromSize, int endFromSize)

// endFromSize: 这个参数设置为 0

from byrecyclerview.

imtianx avatar imtianx commented on May 30, 2024

默认是不显示最后一行的分割线,因为一般会使用到加载更多。
如果你没使用加载更多,请将最后一行的的分割线去掉:

/**
 * 设置从哪个位置 结束设置间距
 *
 * @param startFromSize 一般为HeaderView的个数 + 刷新布局(不一定设置)
 * @param endFromSize   默认为1,一般为FooterView的个数 + 加载更多布局(不一定设置)
 */
public GridSpaceItemDecoration setNoShowSpace(int startFromSize, int endFromSize)

// endFromSize: 这个参数设置为 0

多谢,看了下代码已经解决了😂

from byrecyclerview.

youlookwhat avatar youlookwhat commented on May 30, 2024

解决了就好😘

from byrecyclerview.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.