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

ne5o7dgx  于 2个月前  发布在  Git
关注(0)|答案(4)|浏览(38)

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

cwtwac6a

cwtwac6a1#

今天试了,不行 调不到啊

2q5ifsrm

2q5ifsrm2#

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

voj3qocg

voj3qocg3#

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

qzwqbdag

qzwqbdag4#

作者写错了版本号, 请使用 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

相关问题