AndroidPub
Published in

AndroidPub

📃RecyclerView SmoothScrollToPosition Not Working within NestedScrollView Solution— Android.✔

Scroll your recycler view within a Nested scroll view easily

Photo Credits

Visit my website at https://danishamjad.com/

Layout View

Solution:

nestedScroll.smoothScrollTo(X,Y)
nestedScroll.smoothScrollTo(0,recycler.top)

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Danish Amjad

Senior Mobile Engineer (Android). Open Source Contributor, Technical Writer, Email: Dani.amjad12@gmail.com check my website at https://danishamjad.com/