Giter Site home page Giter Site logo

Comments (13)

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024 1

@scwang90 新版本已解决,我先去打赏一波,O(∩_∩)O哈!

from smartrefreshlayout.

scwang90 avatar scwang90 commented on May 19, 2024

setEnableLoadmore(true)
或者
srEnableLoadmore = true

上面其中一个加上
setLoadmoreFinish(false)

from smartrefreshlayout.

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024

依然不行,我是直接用在项目里的,加了点封装的,我试试单独写个Demo

from smartrefreshlayout.

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024

demo测试确实是可以上拉加载的,目前怀疑和侧滑菜单可能有冲突,我研究下

from smartrefreshlayout.

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024

@scwang90 已经找到原因了,是因为和BaseRecyclerViewAdapterHelper这个库的添加footer功能冲突,我添加了footer造成上拉刷新的view出不来了,因为我的footer本来是全部数据加载完成才显示的,但是应该是被当成上拉view了,因为他默认是隐藏的

from smartrefreshlayout.

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024

addFooterView(mFooter);

from smartrefreshlayout.

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024

@scwang90 额外补充一个bug,配合recyclerview使用时,如果recyclerview向下拉动过猛的话,会因为recyclerview回弹,被刷新header遮住头部

qq 20170713163406

from smartrefreshlayout.

scwang90 avatar scwang90 commented on May 19, 2024

第一个问题解决了可以的,你后面这个bug 很难理解,可以做成gif或者MP4吗

from smartrefreshlayout.

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024

@scwang90 请注意看第三次下拉时的效果,视频链接https://pan.baidu.com/s/1qYdR6t2

from smartrefreshlayout.

scwang90 avatar scwang90 commented on May 19, 2024

你使用的版本是?

from smartrefreshlayout.

AcgnCodeMonkey avatar AcgnCodeMonkey commented on May 19, 2024

@scwang90 compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.1'
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.1'

from smartrefreshlayout.

scwang90 avatar scwang90 commented on May 19, 2024

你换成新版本试试

from smartrefreshlayout.

yuxingfafu avatar yuxingfafu commented on May 19, 2024

BaseRecyclerViewAdapterHelper 使用这个还是不会加载更多,
用了BaseRecyclerViewAdapterHelper 的这个方法 mAdapter.setEmptyView(mEmptyView);

用的版本是
compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.3'
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.3'//没有使用特殊Header,可以不加这行

from smartrefreshlayout.

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.