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

createSnapshot takes a lot of time #29

Open
the6nnoo opened this issue Jan 9, 2022 · 1 comment
Open

createSnapshot takes a lot of time #29

the6nnoo opened this issue Jan 9, 2022 · 1 comment

Comments

@the6nnoo
Copy link

the6nnoo commented Jan 9, 2022

I want scan a Directory and its Childs Directory in Android 11。 and it takes a lot of time.
but my consumer do not know what happed I want add a Progress bar。
maybe not a Percentage bar, just tell consumer it scans how many files。 what should I do?
sir!
hope u will reply me.

@the6nnoo the6nnoo changed the title createSnapshot I takes a lot of time createSnapshot takes a lot of time Jan 9, 2022
@K1rakishou
Copy link
Owner

To show how many files there are they need to be counted first which may take a lot of time (because SAF needs to be used). So I guess the only solution here is to just show a progress bar without any concrete information, like "Reading files on the disk, please wait...".

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

No branches or pull requests

2 participants