Aung Si Min Htet Aung Si Min Htet - 17 days ago 18
Android Question

Recyclerview inside Nested Scrollview scroll but does not fast scroll like normal Recyclerview or Nested Scrollview

I am using

RecyclerView
inside
NestedScrollView
and it works. But when I use
RecyclerView
inside
LinearLayout
or something, it scroll in various speed depending on gesture. The scroll listen to gesture and if I slide up only a bit, then it scroll a little bit while if I slide up really fast, then it scroll really fast. Now my problem is that
RecyclerView
inside
NestedScrollView
certainly scroll but fast scroll does not work. However I slide up fast or slow,
RecyclerView
or
NestedScrollView
only scroll a little bit.

How can I make my
NestedScrollView
or
RecyclerView
inside that scroll view scroll in various speed?

Answer

try

recyclerView.setNestedScrollingEnabled(false);
Comments