Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Component used: Preference Version used: 1.2.0 Devices/Android versions reproduced on: any
When adding an onPreferenceChangeListener to a DropDownPreference, if this listener returns false the value of the preference is not updated. This works as intended.
However, imagine the following scenario:
This seems like an issue with the "selected" value in the underlying component which is changed even if the onPreferenceChangeListener returns false, and does not detect the second value change as the selected value is the same.
Note that everything works fine with a ListPreference, so I'll be using this for now :)