Answers for "recyclerview prevent from scroll to last position"

2

make recycler view non scrollable

//Override your LayoutManager's canScrollVertically::boolean
linearLayoutManager = new LinearLayoutManager(context) {
 @Override
 public boolean canScrollVertically() {
  return false;
 }
};
Posted by: Guest on June-14-2020

Code answers related to "recyclerview prevent from scroll to last position"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language