Not scrolling smoothly
ahmetturk opened this issue · 1 comments
ahmetturk commented
I have a layout like this and it does not scroll smoothly even though I had written nestedScrollingEnabled="false"
to VerticalStepperView. Then I deleted that line. How do I make it scrool smoothly?
<android.support.v4.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.RecyclerView
android:id="@+id/ingredients_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layoutManager="android.support.v7.widget.LinearLayoutManager"
android:nestedScrollingEnabled="false" />
<moe.feng.common.stepperview.VerticalStepperView
android:id="@+id/vertical_stepper_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout>
</android.support.v4.widget.NestedScrollView>
SlamaFR commented
Hi!
I'm currently experiencing the same issue and the only way to fix it is to get the RecyclerView used by the stepper, to call this method : mRecyclerView.setNestedScrollingEnabled(false);
To do this, the author have to add a getter to retrurn the RecyclerView in the VerticalStepperView
class.
Hope they'll see this.