org.androidannotations.annotations.sharedpreferences
Annotation Type DefaultRes
@Retention(value=CLASS)
@Target(value=METHOD)
public @interface DefaultRes
Use on methods in SharedPref
annotated class to specified the default
value of this preference.
The annotation value must be one of R.* fields. If the value is not set, the
field name will be used as the R.* field name.
value
public abstract int value
- Default:
- -1
resName
public abstract String resName
- Default:
- ""
Copyright © 2010-2014. All Rights Reserved.