|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Deprecated @Retention(value=SOURCE) @Target(value=METHOD) public @interface BeforeCreate
THIS ANNOTATION HAS BEEN DEPRECATED.
IT WILL BE REMOVED IN THE NEXT RELEASE OF ANDROIDANNOTATIONS.
We decided to deprecate BeforeCreate
because it does not bring value
to your Android code any more. Prior to AndroidAnnotations 2.2, it allowed
you to execute code before the content view was set. However, this behavior
has changed, the content view is now set after the onCreate() method has been
called.
Methods annotated with @BeforeCreate
will be called before
super.onCreate() is called by the generated activity.
The method may have zero or one parameter, that must be a Bundle
.
There may be several methods annotated with @BeforeCreate
in the same
activity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |