Open punitshah89 opened 6 years ago
Thanks for the report. Confirmed the behavior, but I don't come up with a usecase where RecyclerView is wrapped with a NestedScrollView in practice.
In what usecase do you expect that situation?
Thanks for your quick reply, In my case I'm using multiple views including customRecyclerView inside NestedScrollView, where I want to make whole screen scroll instead of RecyclerView.
But NestedScrollView if able to have only a single direct child. So it's not possible to make the entire screen scrollable including RecyclerView, no?
Yes we can add root element to all views and screen is scrollable, in my case I'm using RelativeLayout and following structure.
<android.support.v4.widget.NestedScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/nested_scroll_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:scrollbars="none"
app:layout_behavior="@string/appbar_scrolling_view_behavior">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<Otherviews />
<CustomRecyclerView />
</RelativeLayout>
</android.support.v4.widget.NestedScrollView>
Oh so the actual XML was different from the one you pasted in the first comment. Understood.
Issues and steps to reproduce
RecyclerView is not showing all items when list is long when used with FlexboxLayoutManager
android:nestedScrollingEnabled="false"
inside NestedScrollViewExpected behavior
RecyclerView should render all items
Version of the flexbox library
0.3.1, 0.3.2
Code example based on repro steps