Skip to content
This repository has been archived by the owner on Jan 16, 2019. It is now read-only.

CheckBoxPreference disableDependentsState not working #6

Closed
msutherland4807 opened this issue Mar 17, 2015 · 3 comments
Closed

CheckBoxPreference disableDependentsState not working #6

msutherland4807 opened this issue Mar 17, 2015 · 3 comments
Labels

Comments

@msutherland4807
Copy link
Contributor

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!

@msutherland4807
Copy link
Contributor Author

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

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

@msutherland4807
Copy link
Contributor Author

Have opened pull request instead

@jenzz
Copy link
Owner

jenzz commented Mar 21, 2015

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.

jenzz pushed a commit that referenced this issue Mar 21, 2015
disableDependentsState now works correctly when set to 'true' in
preference xml
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants