public class EasyPushMultiSelectListPreference
extends android.preference.ListPreference
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SEPARATOR |
| Constructor and Description |
|---|
EasyPushMultiSelectListPreference(android.content.Context context) |
EasyPushMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attributeSet) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.CharSequence[] |
getCheckedValues()
Gets the entries values that are selected
|
protected static java.lang.String |
join(java.lang.Iterable<?> iterable,
java.lang.String separator)
Joins array of object to single string by separator
Credits to kurellajunior on this post
http://snippets.dzone.com/posts/show/91
|
protected void |
onDialogClosed(boolean positiveResult) |
protected java.lang.Object |
onGetDefaultValue(android.content.res.TypedArray typedArray,
int index) |
protected void |
onPrepareDialogBuilder(android.app.AlertDialog.Builder builder) |
protected void |
onSetInitialValue(boolean restoreValue,
java.lang.Object rawDefaultValue) |
findIndexOfValue, getEntries, getEntry, getEntryValues, getSummary, getValue, onRestoreInstanceState, onSaveInstanceState, setEntries, setEntries, setEntryValues, setEntryValues, setSummary, setValue, setValueIndexgetDialog, getDialogIcon, getDialogLayoutResource, getDialogMessage, getDialogTitle, getNegativeButtonText, getPositiveButtonText, onActivityDestroy, onBindDialogView, onClick, onClick, onCreateDialogView, onDismiss, setDialogIcon, setDialogIcon, setDialogLayoutResource, setDialogMessage, setDialogMessage, setDialogTitle, setDialogTitle, setNegativeButtonText, setNegativeButtonText, setPositiveButtonText, setPositiveButtonText, showDialogcallChangeListener, compareTo, findPreferenceInHierarchy, getContext, getDependency, getEditor, getExtras, getFragment, getIcon, getIntent, getKey, getLayoutResource, getOnPreferenceChangeListener, getOnPreferenceClickListener, getOrder, getPersistedBoolean, getPersistedFloat, getPersistedInt, getPersistedLong, getPersistedString, getPreferenceManager, getSharedPreferences, getShouldDisableView, getTitle, getTitleRes, getView, getWidgetLayoutResource, hasKey, isEnabled, isPersistent, isSelectable, notifyChanged, notifyDependencyChange, notifyHierarchyChanged, onAttachedToActivity, onAttachedToHierarchy, onBindView, onCreateView, onDependencyChanged, onParentChanged, onPrepareForRemoval, peekExtras, persistBoolean, persistFloat, persistInt, persistLong, persistString, restoreHierarchyState, saveHierarchyState, setDefaultValue, setDependency, setEnabled, setFragment, setIcon, setIcon, setIntent, setKey, setLayoutResource, setOnPreferenceChangeListener, setOnPreferenceClickListener, setOrder, setPersistent, setSelectable, setShouldDisableView, setSummary, setTitle, setTitle, setWidgetLayoutResource, shouldCommit, shouldDisableDependents, shouldPersist, toStringpublic static final java.lang.String DEFAULT_SEPARATOR
public EasyPushMultiSelectListPreference(android.content.Context context,
android.util.AttributeSet attributeSet)
public EasyPushMultiSelectListPreference(android.content.Context context)
protected void onPrepareDialogBuilder(android.app.AlertDialog.Builder builder)
onPrepareDialogBuilder in class android.preference.ListPreferencepublic java.lang.CharSequence[] getCheckedValues()
protected void onDialogClosed(boolean positiveResult)
onDialogClosed in class android.preference.ListPreferenceprotected java.lang.Object onGetDefaultValue(android.content.res.TypedArray typedArray,
int index)
onGetDefaultValue in class android.preference.ListPreferenceprotected void onSetInitialValue(boolean restoreValue,
java.lang.Object rawDefaultValue)
onSetInitialValue in class android.preference.ListPreferenceprotected static java.lang.String join(java.lang.Iterable<?> iterable,
java.lang.String separator)
iterable - any kind of iterable ex.: ["a", "b", "c"]separator - separetes entries ex.: ",""a,b,c"