I have a RecyclerView in my application and it displays data. I want to disable RecyclerView user touch events. I tried the code below, but it does not work.
recyclerView.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { return false; } });
Please help me.
user6154174
source share