Click here to Skip to main content
15,879,095 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone

I created RecyclerView in xml and I created addOnScrollListener in java
but the problem when I make android:nestedScrollingEnabled="true"
make slow scrolling and when I make android:nestedScrollingEnabled="false"
the addOnScrollListener doesn't work
XML
<android.support.v7.widget.RecyclerView
                    android:id="@+id/impressive_dishes_rv"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:nestedScrollingEnabled="true"
                    android:orientation="horizontal" />


how can I use the event and fast scrolling?

What I have tried:

I googled but I didn't found any solving
Posted

1 solution

Study following 2 articles

Using DiffUtil in Android RecyclerView

Recyclerview Performance Tuning

Hope it helps you :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900