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

Optimize load images #364

Merged
merged 2 commits into from Jun 10, 2021
Merged

Optimize load images #364

merged 2 commits into from Jun 10, 2021

Conversation

esafirm
Copy link
Owner

@esafirm esafirm commented Jun 10, 2021

Changes

1. Optimize image files loading
Previously, we load all files at once and then show them to the UI. This works but if we have a lot of files, it can take quite some time. Now, we strategize to load a small number of files first, after that if the devices still have more files, we load all of them and update the list.

2. Change the MVP pattern
3. Add more test

@esafirm esafirm self-assigned this Jun 10, 2021
@esafirm esafirm merged commit 65c4828 into main Jun 10, 2021
india2sarthak pushed a commit to india2sarthak/android-image-picker that referenced this pull request Sep 1, 2023
* optimize load images

remove mvp view

* add test
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.

None yet

1 participant