Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class CustomLinearLayoutManager extends LinearLayoutManager {
- public CustomLinearLayoutManager(Context context, int orientation, boolean reverseLayout) {
- super(context, orientation, reverseLayout);
- }
- // It will always pass false to RecyclerView when calling "canScrollVertically()" method.
- @Override
- public boolean canScrollVertically() {
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement