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

[Question] Show a stub ONLY after attempt to load image by URL. #2237

Open
isabsent opened this issue Apr 19, 2024 · 1 comment
Open

[Question] Show a stub ONLY after attempt to load image by URL. #2237

isabsent opened this issue Apr 19, 2024 · 1 comment

Comments

@isabsent
Copy link

I need a code sample which will download an image by its url, and if the server responds with an error show a stub from the project’s assets instead of the image. Please note nothing should be shown in place of the image till an attempt to load the image has already been made. Is it possible with Kingfisher library?

@onevcat
Copy link
Owner

onevcat commented Apr 28, 2024

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