You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Csaba Kozák edited this page Mar 16, 2016
·
4 revisions
@IgnoreWhenDetached
Since AndroidAnnotations 3.1 until AndroidAnnotations 3.3.2
When used standalone in an @EFragment or in conjunction with the @UiThread or @Background annotations, the annotated method will be wrapped in an 'if attached' block such that no code will be executed if the @EFragment is no longer bound to its parent activity.
Should be used on method that must meet the following criteria:
Can only be used in conjunction with classes annotated with @EFragment
The annotated method must return void and may contain parameters.
When used standalone in an @EFragment or in conjunction with the @UiThread or @Background annotations, the annotated method will be wrapped in an 'if attached' block such that no code will be executed if the @EFragment is no longer bound to its parent activity or the @EFragment views are destroyed
Should be used on method that must meet the following criteria:
Can only be used in conjunction with classes annotated with @EFragment
The annotated method must return void and may contain parameters.