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

Fix custom indicator may not stop on error #37

Merged
merged 3 commits into from
Nov 1, 2019

Conversation

dreampiggy
Copy link
Collaborator

@dreampiggy dreampiggy commented Nov 1, 2019

This Indicator ViewBuilder should be called once, because we associated Binding into the arg, not a callback function to create same view multiple times.

Reverted this change in 4097d56. See reason in #38

Fix one issue that indicator does not stop on error, because the .image is always non-nil. For our built-in activity/progress indicator, it handles the isAnimating binding object, and may stop. But however, some custom indicator view may not use this. We don't rely on this now.

@dreampiggy dreampiggy added the fix label Nov 1, 2019
@dreampiggy dreampiggy merged commit e286ad5 into master Nov 1, 2019
@dreampiggy dreampiggy changed the title Fix Indicator ViewBuilder will create multiple times, Fix indicator does not stop on error Fix Indicator ViewBuilder will create multiple times, Fix custom indicator may not stop on error Nov 1, 2019
@dreampiggy dreampiggy deleted the fix_indicator_create_multiple_times branch November 1, 2019 21:28
@dreampiggy dreampiggy changed the title Fix Indicator ViewBuilder will create multiple times, Fix custom indicator may not stop on error Fix custom indicator may not stop on error Nov 1, 2019
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.

1 participant