Tuesday 22 November 2016

Recyclerview inside scrollview not scrolling smoothly

18:52:00 Posted by Kumanan , , ,
RecyclerView v = (RecyclerView) findViewById(...);
v.setNestedScrollingEnabled(false);

As an alternative, you can modify your layout using the support design library. I guess your current layout is something like:

<ScrollView >
    <LinearLayout >
       <View > <!-- upper content -->
            <RecyclerView > <!-- with custom layoutmanager -->
    </LinearLayout >
</ScrollView >