-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flexboxlayoutmanager + recyclerview It cannot be fully displayed when there is a large amount of data #594
Comments
Seeing the same behavior :/ |
If anyone else stumbles across this.
I was using this for a Setting |
I have the same problem, is there any way to solve it? |
Problem and steps to reproduce RecycleView nests RecycleView, and the internal RecycleView uses FlexboxLayoutManager(context, FlexDirection.ROW, FlexWrap.WRAP), when the number of items is large, it cannot be displayed completely (for example, only 30 items are displayed for 50 items, and they are not displayed after exceeding one screen)。 But when FlexboxLayoutManager is set to FlexDirection.COLUMN. Vertical display can all be displayed, and LinearLayoutManager or GridLayoutManager can also be used to display all Only when FlexboxLayoutManager is set to FlexDirection.ROW is not fully displayed Version of the flexbox library |
I am having the same issue. |
Does the item layout for RecyclerView use ConstraintLayout? Replacing ConstraintLayout with a RelativeLayout or LinearLayout might solve your problem. |
Use flexboxlayoutmanager + recyclerview to load the flow layout. There is no problem with normal display when the amount of data is small, but it cannot be fully displayed when the amount of data is large. You know why?
As shown in the figure, there were more than 40 lines, but now only 20 lines are displayed。
The text was updated successfully, but these errors were encountered: