martin-stone / hsv-alpha-color-picker-android

A color picker and a color preference for use in Android applications.
Apache License 2.0
290 stars 60 forks source link

OnPreferenceChangeListener is not called #13

Closed ganping closed 8 years ago

ganping commented 8 years ago

The OnPreferenceChangeListener is not triggered when a color is selected.

My current work around is to implement SharedPreferences.OnSharedPreferenceChangeListener in my PreferenceFragment and check the returned key.

ganping commented 8 years ago

One solution I can think of is override onDialogClosed() and trigger callChangeListener(value) when positiveResult is true.

martin-stone commented 8 years ago

Fixed in version 1.5.1.