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
RecyclerView in RecyclerView with FlexboxLayoutManager only show one line #290
Comments
Hi @PPTing, What parameters do you pass to the FlexboxLayoutManager? (e.g. FlexWrap, FlexDirection) |
Hello @thagikura ,I new a FlexboxLayoutManager and not pass any parameters to the it, so the default value is |
@thagikura I have the same issue as @PPTing . I pass |
Sorry for the delayed comment. Confirmed the issue on my end. Let me mark this as a bug. |
…lerViews where the inner RecycerView's adapter is FlexboxLayoutManager with FlexWrap is set to wrap. This was caused because height 0 was passed from the parent RecyclerView if the layout_height is specified as wrap_content, thus FlexboxLayoutManager didn't calculate the entire items. This fixes #290
Should be fixed by #301 |
…lerViews Fixes the issue that only single line was displayed with nested RecyclerViews where the inner RecycerView's adapter is FlexboxLayoutManager with FlexWrap is set to wrap. This was caused because height 0 was passed from the parent RecyclerView if the layout_height is specified as wrap_content, thus FlexboxLayoutManager didn't calculate the entire items. This fixes #290
…lerViews Fixes the issue that only single line was displayed with nested RecyclerViews where the inner RecycerView's adapter is FlexboxLayoutManager with FlexWrap is set to wrap. This was caused because height 0 was passed from the parent RecyclerView if the layout_height is specified as wrap_content, thus FlexboxLayoutManager didn't calculate the entire items. This fixes #290
…lerViews Fixes the issue that only single line was displayed with nested RecyclerViews where the inner RecycerView's adapter is FlexboxLayoutManager with FlexWrap is set to wrap. This was caused because height 0 was passed from the parent RecyclerView if the layout_height is specified as wrap_content, thus FlexboxLayoutManager didn't calculate the entire items. This fixes #290
…lerViews Fixes the issue that only single line was displayed with nested RecyclerViews where the inner RecycerView's adapter is FlexboxLayoutManager with FlexWrap is set to wrap. This was caused because height 0 was passed from the parent RecyclerView if the layout_height is specified as wrap_content, thus FlexboxLayoutManager didn't calculate the entire items. This fixes #290
The issue is still present. |
Its 2020 and this issue is still present 😕 |
The issue still exist. Time to check out other solution. |
@thagikura The issue still exists, is there any other fix |
I use a recyclerview(just call it the ARecyclerView with LinearLayoutManager ) and make another recyclerview(just call it the BRecyclerView with FlexboxLayoutManager) as the item of ARecyclerView**.
But after I call notifyDataSetChanged() ,the BRecyclerView only show one line whenever the data change. What I want is it should show more than one line because the BRecyclerView don't show all data.
The BRecyclerView layout is
and the item of BRecyclerView is
Expected behavior
What I want it show is
Version of the flexbox library
0.3.0-alpha3*
The text was updated successfully, but these errors were encountered: