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

Reload image if an error occurs #61

Open
renanstig opened this issue Apr 11, 2017 · 3 comments
Open

Reload image if an error occurs #61

renanstig opened this issue Apr 11, 2017 · 3 comments

Comments

@renanstig
Copy link

Hi,

I'm developing an image slider using your library, which I gotta say it's great, but I'm struggling to figure out a way to try to download the image again if there was an error while doing so at first time.

Do you have any idea how I can accomplish that?

Best regards,
Renan.

@evgenyneu
Copy link
Owner

Hi @renanstig, good question. I have never done this, but there is an updatePage that might help.

scrollView.auk.updatePage(atIndex: 0, url: "https://bit.ly/moa_image")

@renanstig
Copy link
Author

Hi @evgenyneu , it might help me, but I would have to track which image has failed to download, right? 🤔

@evgenyneu
Copy link
Owner

Ah, yes, you are right. I am afraid this is not possible with Auk at the moment. Sorry.

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