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

[ui] fix List CONTAINERS #198

Open
wants to merge 3 commits into
base: 1.20.2
Choose a base branch
from
Open

Conversation

chyzman
Copy link
Member

@chyzman chyzman commented Dec 6, 2023

Deprecated Components.list in favor of Containers.list (which takes in an Iterable instead of just a list now)

…n an Iterable instead of just a list now) + added Version that takes in a map
removed list from map because map.entryset() is iterable
return layout;
}

public static <T, C extends Component> FlowLayout list(Iterable<T> data, Consumer<FlowLayout> layoutConfigurator, Function<T, C> componentMaker) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're gonna keep this method in, it at least needs some short javadoc to explain what it actually means for the resulting list's axis

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

Successfully merging this pull request may close these issues.

2 participants