RecyclerView and SwipeRefreshLayout

后端 未结 12 1894
再見小時候
再見小時候 2020-12-22 15:46

I\'m using the new RecyclerView-Layout in a SwipeRefreshLayout and experienced a strange behaviour. When scrolling the list back to the top sometim

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-22 16:23

    unfortunately, this is a known bug in LinearLayoutManager. It does not computeScrollOffset properly when the first item is visible. will be fixed when it is released.

提交回复
热议问题