-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Fix Custom image selector #5576
Fix Custom image selector #5576
Conversation
Testing now... Sometimes after marking many pictures as "not for upload" I see a large number of white squares at the bottom, not sire whether it is intended? This is a huge improvement, I already feel much more efficient thanks to this change. :-) I continue testing. |
app/src/main/java/fr/free/nrw/commons/customselector/ui/adapter/ImageAdapter.kt
Show resolved
Hide resolved
app/src/main/java/fr/free/nrw/commons/customselector/ui/selector/ImageFragment.kt
Show resolved
Hide resolved
@nicolas-raoul Previously loading images was too slow and it had enough to process each thumbnail but now image is loaded much faster so it takes some time to load. All the Images Eventually Load without fail, and the loading speed depends on the method |
WhatsApp.Video.2024-03-04.at.8.18.48.PM.mp4Here is an example of how everything eventually loads up |
Yes I also observed that moving the empty squares out of visible screen, and then back into visible screen, makes them load correctly. Waiting does not seem to make them appear. Another small issue: pictures marked as "not for upload" are removed from the view even if "show already actioned pictures" is enabled: 1000038094.mp4Both are not big issues compared to the benefit brought by this PR, so I am happy to file 2 new issues and merge for now, if you agree. 🙂 |
@nicolas-raoul Sure, I can work on it separately, and given my understanding of this issue and the changes I have made, I think we'll get a reliable solution soon.
Adding a commit to Fix this one here |
@nicolas-raoul WhatsApp.Video.2024-03-05.at.8.45.57.PM.mp4 |
@nicolas-raoul If the Above works can you please review and merge it, thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few bugs subsist but hugely helpful fix, thank you! :-)
Description (required)
Fixes #5558
What changes did you make and why?
Tests performed (required)
Tested {build variant, e.g. ProdDebug} on {name of device or emulator} with API level {API level}.
Screenshots (for UI changes only)
WhatsApp.Video.2024-02-29.at.7.21.14.PM.mp4