Open ishail-dev opened 5 months ago
It's a bug for sure, I'll look into it 👍. Thanks for reporting.
Hi @jordond, Do you have any estimation on when it will be fixed? Just trying to understand the timeline so that I can prioritise things at my end.
I have no timeline or estimate on my end. I can only work on this in my spare time, but I am open to contributions if you wanted to take a crack at it.
I'll attempt to fix it. However I'm still a hobby Android programmer, and learning it since last ~6 months. So can't be sure about it. I'll raise a PR if I'm able to fix it.
Hello 👋🏽, DragSelectState behaves very weird when item list isn't static.
For an example, I'm fetching data from on-device database(Room) using the following:
Now drag-select works fine when data loads for the first time. But when some more rows are added/deleted from database, then sometimes drag-select selects incorrect item, or sometimes can't select/de-select items.
I'm not sure whether I'm doing something wrong, or whether there is an issue in library. Here is how I'm rendering images:
Please let me know if you can help here or need more info.
I have also attached a recording of the user experience here:
https://github.com/jordond/drag-select-compose/assets/58887170/853307cb-3f47-4e19-81b5-da5df10c0062