@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 method name will be used as the R.* field name.
The key of the preference will be the method name by default. This can be
overridden by specifying a string resource with the keyRes()
parameter.
public abstract int value
public abstract String resName
public abstract int keyRes
Copyright © 2010-2014. All Rights Reserved.