Comments (13)
@scwang90 新版本已解决,我先去打赏一波,O(∩_∩)O哈!
from smartrefreshlayout.
setEnableLoadmore(true)
或者
srEnableLoadmore = true
上面其中一个加上
setLoadmoreFinish(false)
from smartrefreshlayout.
依然不行,我是直接用在项目里的,加了点封装的,我试试单独写个Demo
from smartrefreshlayout.
demo测试确实是可以上拉加载的,目前怀疑和侧滑菜单可能有冲突,我研究下
from smartrefreshlayout.
@scwang90 已经找到原因了,是因为和BaseRecyclerViewAdapterHelper这个库的添加footer功能冲突,我添加了footer造成上拉刷新的view出不来了,因为我的footer本来是全部数据加载完成才显示的,但是应该是被当成上拉view了,因为他默认是隐藏的
from smartrefreshlayout.
addFooterView(mFooter);
from smartrefreshlayout.
@scwang90 额外补充一个bug,配合recyclerview使用时,如果recyclerview向下拉动过猛的话,会因为recyclerview回弹,被刷新header遮住头部
from smartrefreshlayout.
第一个问题解决了可以的,你后面这个bug 很难理解,可以做成gif或者MP4吗
from smartrefreshlayout.
@scwang90 请注意看第三次下拉时的效果,视频链接https://pan.baidu.com/s/1qYdR6t2
from smartrefreshlayout.
你使用的版本是?
from smartrefreshlayout.
@scwang90 compile 'com.scwang.smartrefresh:SmartRefreshLayout:1.0.1'
compile 'com.scwang.smartrefresh:SmartRefreshHeader:1.0.1'
from smartrefreshlayout.
你换成新版本试试
from smartrefreshlayout.
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)
- OutOfMemoryError
- 有时候refrash并没有执行。。
- Activity滑动卡顿
- 页面上滑出现抖动,滑动不上去。
- SmartRefreshLayout 2.06版本没法自定义列表头和尾 HOT 1
- 2.0.6版本,onRefresh之后,马上调用finishRefresh,recyclerView点击无法响应 HOT 1
- WaterDrop的仿ios的组件,该引用哪一个库?
- 无法在布局文件中直接引用刷新等监听吗
- refresh会重置loadmore设置的状态? HOT 1
- 一个空指针异常
- bug反馈:Android12及以上默认开启的滚动拉伸效果偶尔会影响下拉刷新
- java.lang.ArrayIndexOutOfBoundsException HOT 4
- 版本2.1.0 华为权限关闭后,空指针
- webview滚动,下拉失效问题(已解决) HOT 1
- maven 最新版本未使用 Androidx HOT 1
- 刷新header为什么和内容控件一直有一段距离如recycleview HOT 1
- 一直不停的上拉加载,会出现ANR
- 有时候下拉刷新或者上来加载,没有反应 HOT 1
- MIUI设备滑动异常 HOT 25
- 一个非常诡异的问题,没有在iss找到这样的问题 HOT 1
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 smartrefreshlayout.