public class MultiSelectPreference
extends ListPreference
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
allCheckedSummary |
private boolean[] |
selectedValueIndices |
static java.lang.String |
SEPARATOR |
Constructor and Description |
---|
MultiSelectPreference(Context context) |
MultiSelectPreference(Context context,
AttributeSet attrs) |
Modifier and Type | Method and Description |
---|---|
static boolean |
allFalse(boolean[] ary) |
java.lang.String |
getAllCheckedSummary() |
protected void |
onDialogClosed(boolean positiveResult) |
protected void |
onPrepareDialogBuilder(Builder builder) |
static java.lang.String[] |
parseStoredValue(java.lang.CharSequence val) |
void |
refreshSummary() |
private void |
restoreCheckedEntries() |
void |
setAllCheckedSummary(java.lang.String allCheckedSummary) |
void |
setEntries(java.lang.CharSequence[] entries) |
void |
setValue(java.lang.String value) |
public static final java.lang.String SEPARATOR
private java.lang.String allCheckedSummary
private boolean[] selectedValueIndices
public MultiSelectPreference(Context context, AttributeSet attrs)
public MultiSelectPreference(Context context)
public void setEntries(java.lang.CharSequence[] entries)
public void setValue(java.lang.String value)
protected void onPrepareDialogBuilder(Builder builder)
public static java.lang.String[] parseStoredValue(java.lang.CharSequence val)
private void restoreCheckedEntries()
protected void onDialogClosed(boolean positiveResult)
public void refreshSummary()
public static boolean allFalse(boolean[] ary)
public java.lang.String getAllCheckedSummary()
public void setAllCheckedSummary(java.lang.String allCheckedSummary)