com.googlecode.androidannotations.annotations
Annotation Type AfterViews


@Retention(value=SOURCE)
@Target(value=METHOD)
public @interface AfterViews

Methods annotated with @AfterViews will be called after Activity.setContentView(int) is called by the generated activity. This occurs after super.onCreate() is called. Any view depending code should be done in an AfterViews annotated method. The method must have zero parameters. There may be several methods annotated with @AfterViews in the same activity.



Copyright © 2010-2012. All Rights Reserved.