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

multi-select function #3

Open
Ag-gu opened this issue Jun 21, 2022 · 6 comments
Open

multi-select function #3

Ag-gu opened this issue Jun 21, 2022 · 6 comments

Comments

@Ag-gu
Copy link

Ag-gu commented Jun 21, 2022

Hi! First of all thank you for open source such a useful component. In the process of using it, I added the checkbox myself, and wanted to support the check function, but because of my limited level, there were many problems in the process of customization. Will the multi-select function be added in the future?

@AmrDeveloper
Copy link
Owner

Hello @Ag-gu,

Thanks for your review, I am thinking of enabling multi selection without extra functions, just a new flag that enable/disable this feature and in the view holder you can know If this node is selected or not, this feature will be added in the future and in a simple API Design too, enjoy it

Thanks
Amr Hesham

@Ag-gu
Copy link
Author

Ag-gu commented Jun 22, 2022

Thank you for your reply, I will continue to pay attention to this project, I hope to experience this function as soon as possible, and look forward to more and more practical functions.

@Ag-gu
Copy link
Author

Ag-gu commented Jun 29, 2022

@AmrDeveloper I would like to ask a question, if I want to add a child node to an item when I click it and display it in real time, where should I operate it? Now if I add a child node when I click it, the child node will only be rendered when I click it a second time.

@AmrDeveloper
Copy link
Owner

Hello @Ag-gu,

You need to notify the adapter by position if you know it or notify in general, later I will provide functions to manage nested add and remove

Thanks
Amr Hesham

@softsan
Copy link

softsan commented Apr 11, 2023

@AmrDeveloper is the multi select feature available?

@AmrDeveloper
Copy link
Owner

@softsan Sorry for delay, not supported yet, i am planning to support it without changing public api

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

3 participants