Code example for ListPreference

Methods: setOnPreferenceChangeListener, getEntry, setSummary