Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Slider] Do not invoke OnChangeListeners when restoring states
Calling setValueInternal() will invoke OnChangeListeners if the values have been changed. We shouldn't unconditionally invoke listeners again, otherwise: - If values haven't changed, OnChangeListeners will still be fired. - If values have changed, OnChangeListeners will be fired twice. Removes the unconditional invocation to solve the issue. PiperOrigin-RevId: 382785198
- Loading branch information