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

Request: please show how to use with adding more and more views #5

Open
AndroidDeveloperLB opened this issue Mar 13, 2018 · 0 comments

Comments

@AndroidDeveloperLB
Copy link

AndroidDeveloperLB commented Mar 13, 2018

It is said in the description:

"The layout manager places cells on a linear path and fits as many cells along that line as it can. When the layout manager runs out of room on the current line, it creates a new line and continues the layout process there.
"

Can you please show a sample of putting views programmatically, so that it adds each on the current line, till there is no more space and it goes to the next?

It's just that in the current sample, you define the columns (using getProportionalSizeForChild), and this loses the point of using it, because it should be automatic, as each line could have a different number of views, with various sizes.

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

1 participant