This question already has an answer here:
Stop user scroll to set position on RecyclerView
                                
                                    (1个答案)
                                
                        
                                4年前关闭。
            
                    
如何取消recyclerView滚动?我不需要让recyclerView滚动!

我尝试做recyclerView.setFocusable(false),但是不起作用!

最佳答案

RecyclerView具有stopScroll()方法来停止正在进行的滚动

10-07 19:35
查看更多