Skip to content

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

@AndroidDeveloperLB

Description

@AndroidDeveloperLB

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions