Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

it spend too much time in ui thread #57

Open
Eaken opened this issue Apr 4, 2020 · 9 comments
Open

it spend too much time in ui thread #57

Eaken opened this issue Apr 4, 2020 · 9 comments

Comments

@Eaken
Copy link

Eaken commented Apr 4, 2020

it spend too much time in ui thread,my device has more than 1000 pictures,it took ten seconds to start FilePickerActivity

@deepaksharma-techgropse

i also facing the same problem. have you got any solution?

@Eaken
Copy link
Author

Eaken commented Apr 30, 2020

i also facing the same problem. have you got any solution?

use https://github.com/zhihu/Matisse

@jaiselrahman
Copy link
Owner

Paging support has been introduced in version 1.4.0-alpha02. You can check it out.

@iskugor
Copy link

iskugor commented May 20, 2020

Paging support has been introduced in version 1.4.0-alpha02. You can check it out.

This still happens with 1.4.0. You need to have a lot of images to see the issue. The difference is that app does not crash as before, but loading takes 15s on Samsung S10, which is quite slow.

@jaiselrahman
Copy link
Owner

I tried with around 2000 images but I couldn't notice much difference and the way the paging is implemented it fetches only 15 images from media store first time then 120 images per page, so it should load quickly.

Can it be any other issue? May because of loading thumbnails for high res images?

Can you verify it?

@iskugor
Copy link

iskugor commented May 25, 2020

No, I don't think that is the issue, other apps with gallery picker work very fast.

@iskugor
Copy link

iskugor commented May 27, 2020

Another thing - if I open file picker, it works very fast. Images and videos are slow, audio is also slow, but not as much as images and videos.

@jaiselrahman
Copy link
Owner

@iskugor Can you try this app, select some images and share the log using the menu so that it may help me to identify the issue?

@iskugor iskugor mentioned this issue May 27, 2020
4 tasks
@iskugor
Copy link

iskugor commented May 27, 2020

@jaiselrahman check #64

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants