Skip to content

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.

2 participants