Code example for ListPreference

Methods: findIndexOfValue, getEntries, setSummary