Code example for ListPreference

Methods: getKey, setSummary, setValue