Fix RecyclerView not being smooth while inside a NestedScrollView

use

recyclerView.setNestedScrollingEnabled(false);
keep in mind this will cause the RecyclerView not to use the ViewHolder pattern. Use it when there aren’t a lot of items in it