Recyclerview scrollToPosition doesn't work with NestedScrollView ? Is there anyway?
So I have a Recyclerview within a NestedScrollView . When I say recycleview.scrollToPosition(X) or recycleview.getLayoutManager().scrollToPosition(X) it doesn't work at all. If I move the recycleview out from the nestedScrollView it works fine, but I can't do it, because of the layout structure! Any idea? scrollingView.requestChildFocus(recyclerView,recyclerView); tried this, but not focusing on a certain position make your recyclerview like this <LinearLayout android:id="@+id/ll2" android:focusableInTouchMode="true" android:layout_width="match_parent" android:layout_height="wrap_content">