UcMainPagerDemo icon indicating copy to clipboard operation
UcMainPagerDemo copied to clipboard

解决滑动到顶部后无法下滑复位只能靠重写返回键复位的逻辑问题

Open ImmortalZ opened this issue 9 years ago • 2 comments

解决滑动到顶部后无法下滑复位只能靠重写返回键复位的逻辑问题

commit by ImmortalZ 2016/9/16

ImmortalZ avatar Sep 16 '16 14:09 ImmortalZ

在判断到是RecycleVIew的时候直接断定为LinearLayoutManager这样不太好,抽象Behavior的目的是为了通用,而不应该限制RecycleView的LayoutManager,虽然这里只是个小DEMO,但是也不太妥

BCsl avatar Sep 26 '16 14:09 BCsl

顺带看了其他几个问题,都一并解决了,我觉得作者写的很好,但是有些Behavior的方法没有用到,所以有些逻辑处理的不是很完美,非常感谢有人主动实现这个效果。修改的我都提在PR里了,再次感谢。

HirayClay avatar Sep 19 '18 02:09 HirayClay