小编Chr*_* Su的帖子

当我使用 RecyclerView 和 SwipeRefreshLayout 在 MotionLayout 中做一些动画时,事情变得很奇怪

当 RecyclerView 向上拖动时,我使用 MotionLayout 来实现一些很酷的效果,但看起来当我想将 SwipeRefreshLayout 与 RecyclerView 一起使用时,事情会发生冲突。

如果没有 SwipeRefreshLayout,那很好

如果我用 SwipeRefreshLayout 包围,向上拖动的行为就像反对一样奇怪

https://gist.github.com/GHChrisSu/6aadf40dc693bc47cbb83a167a82a4b9

运动场景如下

https://gist.github.com/GHChrisSu/a154d59f34555cccfc1b48617989ae16

android swiperefreshlayout android-recyclerview android-motionlayout

2
推荐指数
1
解决办法
1440
查看次数