2

Is there any method to temporary disable recyclerview child items clickable and scrollable?

recyclerView1.setOnTouchListener(new View.OnTouchListener() {
                            @Override
                            public boolean onTouch(View v, MotionEvent event) {
                                return true;
                            }
                        });

By using this, I am able to stop the scrolling events but I have no idea how to disable the child items clicks event.

Wei Long
  • 65
  • 2
  • 10

0 Answers0