diff --git a/coachmark/src/main/java/com/pseudoankit/coachmark/scope/CoachMarkScopeImpl.kt b/coachmark/src/main/java/com/pseudoankit/coachmark/scope/CoachMarkScopeImpl.kt index 27edf5d..4ee63cb 100644 --- a/coachmark/src/main/java/com/pseudoankit/coachmark/scope/CoachMarkScopeImpl.kt +++ b/coachmark/src/main/java/com/pseudoankit/coachmark/scope/CoachMarkScopeImpl.kt @@ -30,6 +30,8 @@ internal class CoachMarkScopeImpl( private var _visibleTooltips = listOf() set(value) { + // resetting all values before setting new ones + field = listOf() _visibleTooltipIndex = 0 updateVisibleItem(value, _visibleTooltipIndex) field = value