declex
declex copied to clipboard
@ViewsById for multiple sources
@ViewsById right now it is limited to its behavior inherited from AndroidAnnotations.
#33 refers to this.
#69 will make a more general approach to inject views.
@ViewsById should then support the following (it should look for the view also in this order):
- Read by default from the default layout (@EActivity, @EFragment, @EGroupView)
- Read from Inflations using #69
- If not found, fallback to read from the activity. (At least that no layout is specified, in such case, it would read from the default mean)
Like this, @ViewById would be able to inject from any of DecleX sources.