Annotation Types Summary |
AfterInject |
Methods annotated with @AfterInject will be called after the
constructor is called in an enhanced class. |
AfterTextChange |
This annotation is intended to be used on methods to receive events defined
by TextWatcher.afterTextChanged(Editable s) after the
text is changed on the targeted TextView or subclass of TextView. |
AfterViews |
Methods annotated with @AfterViews will be called after
Activity.setContentView(int) is called by the generated activity. |
App |
Injects an EApplication annotated class in an enhanced class. |
Background |
Should be used on method that must be run in a background thread. |
Bean |
Injects an EBean annotated class in an enhanced class. |
BeforeTextChange |
This annotation is intended to be used on methods to receive events defined
by
TextWatcher.beforeTextChanged(CharSequence s, int start, int count, int after)
before the text is changed on the targeted TextView or subclass of TextView. |
CheckedChange |
This annotation is intended to be used on methods to receive events defined
by
CompoundButton.OnCheckedChangeListener.onCheckedChanged(android.widget.CompoundButton, boolean)
after the checked state is changed on the targeted CompoundButton or subclass
of CompoundButton. |
Click |
This annotation is intended to be used on methods to receive events defined
by View.OnClickListener.onClick(android.view.View) when
the view has been clicked by the user. |
CustomTitle |
Use it on EActivity annotated classes to set a custom title layout. |
EActivity |
Should be used on Activity classes to enable usage of
AndroidAnnotations. |
EApplication |
Should be used on Application classes to enable usage of
AndroidAnnotations. |
EBean |
Should be used on custom classes to enable usage of AndroidAnnotations. |
EFragment |
Should be used on android.app.Fragment or
android.support.v4.app.Fragment classes to enable usage of
AndroidAnnotations. |
EIntentService |
Should be used on IntentService classes to enable usage
of AndroidAnnotations. |
EProvider |
Should be used on ContentProvider classes to enable
usage of AndroidAnnotations. |
EReceiver |
Should be used on BroadcastReceiver classes to enable
usage of AndroidAnnotations. |
EService |
Should be used on Service classes to enable usage of
AndroidAnnotations. |
EView |
Should be used on View classes to enable usage of
AndroidAnnotations. |
EViewGroup |
Should be used on View classes to enable usage of
AndroidAnnotations. |
Extra |
Use on any native, Parcelable or Serializable field in an
EActivity annotated class to bind it with Android's extra. |
FocusChange |
This annotation is intended to be used on methods to receive events defined
by
View.OnFocusChangeListener.onFocusChange(android.view.View, boolean)
after focus is changed on the targeted View or subclass of View. |
FragmentArg |
Use on any native, Parcelable or Serializable field in an
EFragment annotated class to bind it with Android's arguments. |
FragmentById |
Use it on android.app.Fragment or
android.support.v4.app.Fragment fields in activity classes to
retrieve and inject a fragment. |
FragmentByTag |
Use it on android.app.Fragment or
android.support.v4.app.Fragment fields in activity classes to
retrieve and inject a fragment. |
FromHtml |
Use on a TextView field or a
TextView subclass field annotated with
ViewById to inject text as HTML. |
Fullscreen |
Should be used on EActivity classes that must be fullscreen. |
HierarchyViewerSupport |
Should be used on EActivity classes to enable the use of HierarchyViewer inside the application. |
HttpsClient |
Use this annotation to inject an HttpClient instance with the specified
KeyStore and TrustStore configured to perform an HTTPS request. |
InstanceState |
Use on activity fields to save and restore their values when the system calls
onSaveInstanceState(Bundle) and onCreate(Bundle) . |
ItemClick |
This annotation is intended to be used on methods to receive events defined
by {@link
android.widget.AdapterView.OnItemClickListener#onItemClick(android.widget. |
ItemLongClick |
This annotation is intended to be used on methods to receive events defined
by {@link
android.widget.AdapterView.OnItemLongClickListener#onItemLongClick(android. |
ItemSelect |
This annotation is intended to be used on methods to receive events defined
by {@link
android.widget.AdapterView.OnItemSelectedListener#onItemSelected(android. |
LongClick |
This annotation is intended to be used on methods to receive events defined
by
View.OnLongClickListener.onLongClick(android.view.View)
when the view has been long clicked by the user. |
NonConfigurationInstance |
Use on activity fields to retain instances that are intensive to compute, on
configuration changes. |
NoTitle |
Deprecated. |
OnActivityResult |
This annotation is intended to be used on methods to receive results from a
previously started activity using
Activity.startActivityForResult(Intent, int) or the
generated IntentBuilder.startActivityForResult() method of the
activity. |
OptionsItem |
This annotation is intended to be used on methods to receive click on menu
items. |
OptionsMenu |
Should be used on EActivity or EFragment annotated classes to
inject one or multiple menus. |
OptionsMenuItem |
Use it on android.app.Fragment or
android.support.v4.app.Fragment fields in activity classes to inject
a menu item. |
OrmLiteDao |
Use it on fields of any enhanced class to injects an OrmLite Dao, configured
with the provided mode and helper classes. |
RoboGuice |
Should be used on Activity classes that use the RoboGuice framework. |
RootContext |
Use it on Context fields in an EBean
annotated classes to inject context of the parent class. |
SeekBarProgressChange |
This annotation is intended to be used on methods to receive events defined
by
SeekBar.OnSeekBarChangeListener.onProgressChanged(android.widget.SeekBar, int, boolean)
when the progress level of a SeekBar has changed. |
SeekBarTouchStart |
This annotation is intended to be used on methods to receive events defined
by
SeekBar.OnSeekBarChangeListener.onStartTrackingTouch(SeekBar seekBar)
when the user begins to move the cursor of the targeted SeekBar. |
SeekBarTouchStop |
This annotation is intended to be used on methods to receive events defined
by
SeekBar.OnSeekBarChangeListener.onStopTrackingTouch(SeekBar seekBar)
when the user has finished to move the cursor of the targeted SeekBar. |
ServiceAction |
Should be used on a method that must respond to a specific action in an
EIntentService annotated class. |
SystemService |
Use it on a SystemService fields in any enhanced classes to inject the
according manager. |
TextChange |
This annotation is intended to be used on methods to receive events defined
by
TextWatcher.onTextChanged(CharSequence s, int start, int before, int count)
when the text is changed on the targeted TextView or subclass of TextView. |
Touch |
This annotation is intended to be used on methods to receive events defined
by
View.OnTouchListener.onTouch(android.view.View, MotionEvent)
when the view has been touched by the user. |
Trace |
This annotation is intended to be used on methods to log at runtime the
execution time. |
Transactional |
This annotation is intended to be used on methods to run it into a database
transaction. |
UiThread |
Should be used on method that must be run in the Ui thread
The annotated method MUST return void and MAY contain parameters. |
ViewById |
Use it on View or View subtype
fields in a view related (ie EActivity , EFragment ,
EViewGroup , ...) annotated class. |
WindowFeature |
Should be used on EActivity classes to set custom window features. |