jenzz/Android-MaterialPreference

CheckBoxPreference disableDependentsState not working

msutherland4807 opened this issue · 3 comments

As in title, I have my disableDependentsState set to true, so that when my CheckBox is ticked, another pref is disabled, however no matter how I set the attribute, the other pref is always enabled/disabled when CheckBox on/off respectively

I've tried using the source lib and changing line 42 to look in index 2 (which I think is correct anyway) but it still doesn't seem to work

Thanks for the lib!

Never mind, changing it to index 2 did work, my mistake.

If you could edit it in the lib that'd be awesome :)

Have opened pull request instead

Yep. That's a bug. Well spotted.

I will review and merge your PR soon and then do a simple patch release to Maven Central.