Skip to content
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

dynamically added children #27

Open
wassy92x opened this issue Jul 29, 2016 · 1 comment
Open

dynamically added children #27

wassy92x opened this issue Jul 29, 2016 · 1 comment

Comments

@wassy92x
Copy link

wassy92x commented Jul 29, 2016

Unfortunately the FixedGridLayoutManager doesn't work correctly if I try to inflate dynamical children in onBindViewHolder.
I have an RecyclerView where every cell exists of another RecyclerView.
The height of the cells is always zero respectively the minimum height.

I already tried to replace the child-RecyclerView with a LinearLayout and add to this the children.
But this doesn't help.

unbenannt2

@dsiddiqui489
Copy link

Can you share your code? I don't think RecyclerView was designed to inflate anything in onBindViewHolder()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants