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