Kevin

Results 4 issues of Kevin

提个新需求,这也是市面上应用比较多的,底部导航栏中让个别模块的图标呈现凸起状态。

* Android device: OPPO Reno7 * Android OS version: 13 * Google Play Services version: 4.3.15 * Firebase/Play Services SDK version: 21.3.0 The following is the package dependency diagram of...

问题:在CoordinatorLayout中嵌套ViewPager,ViewPager的Fragment中使用SwipeToLoadLayout嵌套RecyclerView。向下拉RecyclerView列表时,当CoordinatorLayout的头部还没完全隐藏时,就已经启动下拉刷新状态(换成Google自带的SwipeRefreshLayout刷新控件则没有此问题,因为SwipeRefreshLayout实现了NestedScrollingParent和NestedScrollingChild接口,而SwipeToLoadLayout则没有实现这两个接口)。希望在下个版本中优化此问题,谢谢。

我对比最新版本1.0.4和旧版本1.0.2的isRefreshing(),旧版本接口实现如下(新版本少了mLoading做与运算): public boolean isRefreshing() { return SwipeToLoadLayout.STATUS.isRefreshing(this.mStatus) && this.mLoading; } 在我的项目中需要判断下拉刷新的状态,我是使用作者暴露出来的isRefreshing()接口进行判断的,刷新过程中isRefreshing()返回值为true,反之为false。版本1.0.2也是没问题的。但就在版本1.0.3后,只要下拉刷新完成,isRefreshing()返回值一直为true,即使我先设置swipeToLoadLayout.setRefreshing(false),再取值isRefreshing仍然返回true。 我看了版本1.0.3和版本1.0.2的代码逻辑变动较大,是作者引入bug了还是其他原因,希望解答,谢谢。