Use the gesture detector to get the scroll event in RecyclerView.
EDIT Replacing ScrollView with NestedScrollView solved my problem of recyclerview scrolling.
final NestedScrollView parentScrollView=(NestedScrollView)view.findViewById (R.id.parentScrollView); parentScrollView.setOnScrollChangeListener(new NestedScrollView.OnScrollChangeListener() { @Override public void onScrollChange(NestedScrollView v, int scrollX, int scrollY, int oldScrollX, int oldScrollY) { // Log.d("ScrollView","scrollX_"+scrollX+"_scrollY_"+scrollY+"_oldScrollX_"+oldScrollX+"_oldScrollY_"+oldScrollY); //Do something } } });