出现You must override smoothScrollToPosition to support smooth scrolling
1009256707 opened this issue · 3 comments
1009256707 commented
,使用recycler_view.smoothScrollToPosition(0) 出现以下错误如何解决。
You must override smoothScrollToPosition to support smooth scrolling
FaridLU commented
thanks a lot
kavathiyamahesh commented
Not working for me, @faridbd @1009256707 Can you please guide me for the same?
Thanks
kavathiyamahesh commented
For extend class Use LinearLayoutManager instead RecyclerView.LayoutManager() in VegaLayoutManager file.
recyclerView.smoothScrollToPosition(0) //Working fine for me
Thanks