scwang90 / SmartRefreshLayout

🔥下拉刷新、上拉加载、二级刷新、淘宝二楼、RefreshLayout、OverScroll,Android智能下拉刷新框架,支持越界回弹、越界拖动,具有极强的扩展性,集成了几十种炫酷的Header和 Footer。
https://segmentfault.com/a/1190000010066071
Apache License 2.0
24.8k stars 4.94k forks source link

有个疑问io.github.scwang90:跟com.scwang.smart有什么区别?io.github.scwang90:添加成功也无法调用 #1440

Open 542604974 opened 2 years ago

542604974 commented 2 years ago

io.github.scwang90:添加成功也无法调用,后者没问题,我找了很久这个原因,为啥没人提呢?

2915805293 commented 2 years ago

今天试了,不行 调不到啊

2915805293 commented 2 years ago

implementation 'io.github.scwang90:refresh-header-material:2.0.4' //把2.0.3改成2.0.4就好了

wozaihu commented 2 years ago

很多仓库版本不全,如果用英文版说明中的2.0.3版本,可以在项目根gradle加这个仓库的地址能下载到 maven { url "https://plugins.gradle.org/m2/"}

liangjingkanji commented 2 years ago

作者写错了版本号, 请使用2.0.5版本

implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5'
implementation 'io.github.scwang90:refresh-header-material:2.0.5'
implementation 'io.github.scwang90:refresh-footer-classics:2.0.5'

另外推荐配合BRV使用: #1441