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

Supports the delayPlaceholder for WebImage #91

Merged
merged 3 commits into from
Mar 29, 2020

Conversation

dreampiggy
Copy link
Collaborator

Update the Example to show the usage as well.

Use Case

You can combine both placeholder and indicator at the same time. Which showing the indicator (like Activity) during loading, show the error placeholder when failed.

Design

The .delayPlaceholder will only show placeholder when load failed (image == nil && !isLoading).

@dreampiggy dreampiggy added feature webimage WebImage struct labels Mar 29, 2020
@dreampiggy dreampiggy force-pushed the feature_delayPlaceholder_webimage branch from c1ef45c to 59634bf Compare March 29, 2020 13:04
@dreampiggy dreampiggy merged commit 42fdca6 into master Mar 29, 2020
@dreampiggy dreampiggy deleted the feature_delayPlaceholder_webimage branch March 29, 2020 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature webimage WebImage struct
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant