Change CheckBoxPreference summary based on checked state
===

I'm trying to create a app where the preference summary changes based on the checked state of a PreferenceCheckBox. I'm not quite sure how to query the preferences since a good old isChecked() wont work. Thanks for any help!