mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-20 20:12:52 +08:00
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