Danish Farooq
Danish Farooq

Reputation: 135

My Recyclerview is inside in NestedScrollview it is working but scrolling is not working smoothly

I tried almost everything but did not get a perfect smooth scrolling. please help Me. Thanks in Advance

this is my layout

<com.agribazaar.android.views.StickyScrollView style="@style/MatchParent">
       <LinearLayout
                android:id="@+id/ll_auctions"
                style="@style/MatchWidth"
                android:orientation="vertical">

                <android.support.v7.widget.RecyclerView
                    android:id="@+id/rv_upcoming"
                    style="@style/MatchWidth"
                    android:nestedScrollingEnabled="false"
                    android:padding="@dimen/m4dp" />


        </LinearLayout>

    </com.agribazaar.android.views.StickyScrollView>

Upvotes: 1

Views: 149

Answers (1)

Abhinay Sharma
Abhinay Sharma

Reputation: 178

try this..

recyclerView.setNestedScrollingEnabled(false);

Upvotes: 2

Related Questions