FilePicker
FilePicker copied to clipboard
it spend too much time in ui thread
it spend too much time in ui thread,my device has more than 1000 pictures,it took ten seconds to start FilePickerActivity
i also facing the same problem. have you got any solution?
Paging support has been introduced in version 1.4.0-alpha02. You can check it out.
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.
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?
No, I don't think that is the issue, other apps with gallery picker work very fast.
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.
@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?
@jaiselrahman check https://github.com/jaiselrahman/FilePicker/pull/64