UdhayaBalaji / androidannotations

Automatically exported from code.google.com/p/androidannotations
0 stars 0 forks source link

@AfterInject for @Enhanced components #156

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In @Enhanced components, dependency injection happens in the constructor of the 
subclass, which means that in the constructor of the annotated super class, no 
component is injected yet.

So we would need an @AfterInject annotation, that would work like @AfterViews, 
but be called after injection (and of course before @AfterViews).

Original issue reported on code.google.com by py.ricau on 3 Jan 2012 at 8:58

GoogleCodeExporter commented 8 years ago
https://github.com/excilys/androidannotations/issues/6

Original comment by py.ricau on 6 Jan 2012 at 10:22