com.googlecode.androidannotations.annotations
Annotation Type OptionsItem


@Retention(value=CLASS)
@Target(value=METHOD)
public @interface OptionsItem

Should be used on option items listener methods in activity classes The method may have zero or one parameter, that MUST be of type android.view.MenuItem . The annotation value should be one of R.id.* fields. If not set, the method name will be used as the R.id.* field name.


Optional Element Summary
 String[] resName
           
 int[] value
           
 

value

public abstract int[] value
Default:
-1

resName

public abstract String[] resName
Default:
""


Copyright © 2010-2013. All Rights Reserved.