Giter Site home page Giter Site logo

Comments (8)

CymChad avatar CymChad commented on May 1, 2024 2

compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:v1.7.2' 新增了我说的那个方法。

from baserecyclerviewadapterhelper.

CymChad avatar CymChad commented on May 1, 2024

没有,你遇到了?可以说一下你的使用场景吗?我好来修改

from baserecyclerviewadapterhelper.

lvtanxi avatar lvtanxi commented on May 1, 2024

我解决了。但是我还是说一下吧(可能范围比较小)。比如说有一个界面我添加了一个HeaderView但是我的item确实0,这时候需要显示一个EmptyView.这个时候只显示了HeaderView。

from baserecyclerviewadapterhelper.

CymChad avatar CymChad commented on May 1, 2024

当初设计的时候有考虑过这个问题,就是有HeaderView要不要显示EmptyView,这个问题,后来采用了不用显示EmptyView这种做法,你的需求是要这样吗?

from baserecyclerviewadapterhelper.

CymChad avatar CymChad commented on May 1, 2024

如果你有这样的需求,我可以写个重载方法,在设置EmptyView的是否设置一个表示,就是是否与headView共存,你觉得如何?

from baserecyclerviewadapterhelper.

CymChad avatar CymChad commented on May 1, 2024

因为你的需求也同时是大家的需求。

from baserecyclerviewadapterhelper.

lvtanxi avatar lvtanxi commented on May 1, 2024

也可以。因为我觉得这种情况还是有的吧

from baserecyclerviewadapterhelper.

CymChad avatar CymChad commented on May 1, 2024

今天事有点多,明天给你修改好,改好了,我和你说一下。

from baserecyclerviewadapterhelper.

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.