Comments (3)
@tmxd09887 TestBaseRecyclerViewAdapterActivity的例子是用来演示如何配合BaseRecyclerViewAdapter提供的加载更多能力进行刷新。你如果想使用本库的上拉加载更多能力请去掉BaseRecyclerViewAdapter所提供能力相关的代码即去掉Adapter的setOnLoadMoreListener
代码即可。
from smoothrefreshlayout.
谢谢
mRefreshLayout.setOnRefreshListener同时监听下拉和上拉?
好像是if (isRefresh) 来判断是否上拉还是下拉?
文档里没看到。试了下,应该是这样。
from smoothrefreshlayout.
@tmxd09887 是的
from smoothrefreshlayout.
Related Issues (20)
- ext-dynamic-rebound 这个依赖不下来 HOT 9
- 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
- 横向加载 loadmore 能否指定加载左侧还是右侧 HOT 7
- 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
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.