com.googlecode.androidannotations.annotations.sharedpreferences
Annotation Type SharedPref


@Retention(value=SOURCE)
@Target(value=TYPE)
public @interface SharedPref

Apply @SharedPref on an interface to create a SharedPreference helper that will contain access methods related to the methods you define in the interface.


Optional Element Summary
 int mode
           
 SharedPref.Scope value
           
 

value

public abstract SharedPref.Scope value
Default:
com.googlecode.androidannotations.annotations.sharedpreferences.SharedPref.Scope.ACTIVITY

mode

public abstract int mode
Default:
0


Copyright © 2010-2012. All Rights Reserved.