@Retention(value=CLASS)
@Target(value=METHOD)
public @interface AfterExtras
AfterExtras
will be called after the Extras
from an Intent have been injected.
Any code depending on injected extras should be done in an
AfterExtras
annotated method.
The method must have zero parameters.
There may be several methods annotated with @AfterExtras
in the same
class.
Example :@EActivity(R.layout.main) public class MyActivity extends Activity { @Extra String myExtra; @AfterExtras void afterExtras() { // myExtra is now available } }
Copyright © 2010-2014. All Rights Reserved.