Comments (7)
大佬您好 ,还发现一个问题 mRefreshLayout.setEnableAutoLoadMore(false); 如果开启了禁用,手动自己去拉 onLoadingMore 也不会回调了。有机会能和您通过其他方式进行交流请教吗(QQ/WX/钉钉/飞书等 )? GitHub 还经常不能开打,感谢大佬
from smoothrefreshlayout.
我这边没有复现你的问题,理论上使用如下配置
refreshLayout.setDisableRefresh(true);
refreshLayout.setDisableLoadMore(false);
即可,不需要额外调用setEnableAutoLoadMore
,因为默认没有开启自动加载更多。
from smoothrefreshlayout.
你好,大佬请教一下,我看您是用的 NestedScrollingChild3,NestedScrollingParent3 。如果我不需要考虑嵌套问题的话 在 RecyclerView.OnScrollListener 的 SCROLL_STATE_IDLE 时候去判断
findLastVisibleItemPosition() == layoutManager.getItemCount() - 1 触底了然后去触加载更多这种实现方式有什么风险和坑吗?
from smoothrefreshlayout.
本库的嵌套RecyclerView
自动加载更多就是类似的实现。你自己实现或者使用本库的实现都是可以的。
from smoothrefreshlayout.
好的谢谢大佬,如果不能手动去滑动触底,通过代码去操作 smoothScrollToPosition 去滑动到最后一个能触发触底吗?感谢大佬指导!
from smoothrefreshlayout.
我试了可以 感谢指导
from smoothrefreshlayout.
本库有相关实现,你直接使用本库提供的也可以的。DEMO中的测试触发滚动到边缘并自动刷新
界面就是类似实现
from smoothrefreshlayout.
Related Issues (20)
- Could not resolve all files for configuration ':app:debugCompileClasspath'. HOT 6
- Cannot resolve method transformPointToViewLocal in ViewGroup HOT 1
- 横向刷新嵌套recycleView,无法取消,就是我手指右滑再左滑取消刷新操作会判定为执行刷新 HOT 4
- [QUESTION] How to stop footer scaling? HOT 3
- Demo 中 CoordinatorLayout 中 包含 RecyclerView 界面 AppBarLayout visibility设置为 GONE之后下拉失效 HOT 3
- 空指针异常canChildScrollDown HOT 3
- 是否支持嵌套viewpager HOT 1
- New Android 12 non-sdk restrictions are coming HOT 2
- 与 AppBarLayout + ViewPager 配合使用后的滚动问题 HOT 5
- 多层嵌套出现冲突 HOT 1
- 刷新view问题 HOT 7
- recycylerview数据比较大的时候,数据直接无法显示(106),降低数据量就可以(30条)。需要优先配置什么参数吗? HOT 6
- ColorOS 12 上发生的问题(可持续复现) HOT 12
- 无法拉取到依赖 HOT 3
- https://github.com/13120241790/GridPagerHelper
- 频繁刷新出现Layout state should be one of 100 but it is 10问题 HOT 1
- 能否出一个kotlin版本? HOT 1
- 设置setEnablePinContentView为true时,执行加载更多后的显示细节问题 HOT 2
- 作者兼容下SDK33呗,自定义view中很多方法不能用了比如transformPointToViewLocal啊这种 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 smoothrefreshlayout.