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

Anyway to create multiple downloading tasks? #5

Open
gouen95 opened this issue Jan 4, 2019 · 2 comments
Open

Anyway to create multiple downloading tasks? #5

gouen95 opened this issue Jan 4, 2019 · 2 comments

Comments

@gouen95
Copy link

gouen95 commented Jan 4, 2019

Is there a way to create multiple downloading tasks? So that I can have multiple instances running at the same time to download for multiple collection cells.

@davbeck
Copy link
Owner

davbeck commented Jan 9, 2019

You can use ImageSourceDownloader to download as many images in parallel as you like. If you have multiple ImageSourceViews, they will each download in parallel (but actually share a download if it's the same url).

@gouen95
Copy link
Author

gouen95 commented Jan 9, 2019

Cool, much appreciated for the answer. But sorry for being unclear, what I trying to ask is I found that if i assign 5 different image url into the shared downloader.. it downloads the image 1 by 1 ( or by sequence, we need to wait for one image to be done downloading before others could start ) rather than trying to download 5 of em at the same pace.

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