make recycler view non scrollable

Solutions on MaxInterview for make recycler view non scrollable by the best coders in the world

showing results for - "make recycler view non scrollable"
Emmanuel
29 Aug 2017
1//Override your LayoutManager's canScrollVertically::boolean
2linearLayoutManager = new LinearLayoutManager(context) {
3 @Override
4 public boolean canScrollVertically() {
5  return false;
6 }
7};