|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={TYPE,FIELD}) @Retention(value=RUNTIME) @Inherited public @interface BooleanString
Annotation type to set the format of Preference#setSummary(CharSequence)
for
CheckBoxPreference
s to something other than true or false.
BindPreference
.
Example
@BooleanString(checked = "descending", unchecked = "ascending") @BindPreference public static final String PREF_USER_ORDER_REVERSE = "user_order_direction";
Required Element Summary | |
---|---|
java.lang.String |
checked
|
java.lang.String |
unchecked
|
Optional Element Summary | |
---|---|
java.lang.String |
key
The key value associated with a preference. |
Element Detail |
---|
public abstract java.lang.String checked
public abstract java.lang.String unchecked
public abstract java.lang.String key
Preference.getKey()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |