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

[Question] How to Implement Nested Reorderables #266

Open
wakaztahir opened this issue May 25, 2023 · 0 comments
Open

[Question] How to Implement Nested Reorderables #266

wakaztahir opened this issue May 25, 2023 · 0 comments

Comments

@wakaztahir
Copy link
Contributor

wakaztahir commented May 25, 2023

Say I have photoshop like layers where you can create a folder to group those layers , You can reorder the folders (groups) and also reorder layers inside those groups

How can this be implemented using a Lazy List

Let's say layer has just name class Layer(val name : String) and group has a list of layers class Group(val layers : List<Layer>)

and we've been given groups : List<Group> as a parameter , at the current moment I've implemented a list of layers with a drag handle but can't figure out how to implement reorderable groups

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