Code example for ListPreference

Methods: setValuesetEnabled