StickyHeaderScrollView icon indicating copy to clipboard operation
StickyHeaderScrollView copied to clipboard

监听recyclerview的scroll事件怎么搞,我现在是用headerscrollview监听,但是有个问题,获取到的layoutManager.findFirstVisibleItemPosition()永远是0

Open runfengai opened this issue 1 year ago • 0 comments

onScrollChange中监听rv的滚动 val layoutManager = rvLivingList.layoutManager as LinearLayoutManager var scrollPosition = layoutManager.findFirstVisibleItemPosition() //一直是0

runfengai avatar May 02 '23 12:05 runfengai