declex icon indicating copy to clipboard operation
declex copied to clipboard

@ViewsById for multiple sources

Open smaugho opened this issue 7 years ago • 0 comments

@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.

smaugho avatar Mar 09 '17 19:03 smaugho