Closed initchen closed 1 year ago
默认情况下PageRefreshLayout会在不满一页时关闭上拉加载更多, 因为作者认为那是不合理和愚蠢的布局显示
你可以手动开启不满一页显示加载更多, 如果希望全局设置一次, 请使用SmartRefreshLayout的初始化设置监听SmartRefreshLayout.setDefaultRefreshInitializer
setDefaultRefreshFooterCreator
并不属于全局初始化设置, 另外加载更多跟随布局
不等于不满一页显示加载更多
. 请阅读SmartRefreshLayout文档
问题描述
SmartRefreshLayout支持设置setEnableFooterFollowWhenNoMoreData(true)来让加载更多跟随列表底部(列表没有满一屏的情况),但是改为BRV后失效
期望行为
加载更多跟随底部
如何复现
全局设置
发起请求 使用BRV:
使用 SmartRefreshLayout
布局:
截图
版本