Skip to content

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
1 participant