recyclerview disable scrolling code example
Example: make recycler view non scrollable
//Override your LayoutManager's canScrollVertically::boolean
linearLayoutManager = new LinearLayoutManager(context) {
@Override
public boolean canScrollVertically() {
return false;
}
};