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

[Image Loading] Skip initial Empty state #148

Merged
merged 1 commit into from
Nov 18, 2020
Merged

Conversation

chrisbanes
Copy link
Contributor

We now start from the Loading state, since we switch instantly to Loading in 99% of cases. This means we no longer display the Empty state as start before switching to Loading one composition later.

We now treat Empty as a terminal/result state.

Closes #141

We now start from the Loading state, since we switch instantly
to Loading in 99% of cases. This means we no longer display the
Empty state as start before switching to Loading one composition
later.

We now treat Empty as a terminal/result state.

Closes #141
@chrisbanes chrisbanes changed the title Skip initial empty state Skip initial Empty state Nov 18, 2020
@chrisbanes chrisbanes changed the title Skip initial Empty state [Image Loading] Skip initial Empty state Nov 18, 2020
@chrisbanes chrisbanes merged commit c623ee8 into main Nov 18, 2020
@chrisbanes chrisbanes deleted the cb/image-pending branch November 18, 2020 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CoilImage: ImageState is Empty (briefly) before the image loads.
3 participants